#000254 color
The hex color #000254 is a very dark, vivid blue.
In the RGB color model it is made of 0% red, 0.8% green and 32.9% blue (0, 2, 84).
Its hue angle is 239°, with 100% saturation and 16% lightness. For print, the CMYK equivalent is 100% cyan, 98% magenta, 0% yellow and 67% black.
The closest named color is Ravenclaw (#0A0555), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.47:1).
#000254 color codes
| HEX | #000254 | |
|---|---|---|
| RGB | rgb(0, 2, 84) | |
| RGB percent | rgb(0%, 0.8%, 32.9%) | |
| HSL | hsl(239, 100%, 16%) | |
| HSV / HSB | hsv(239, 100%, 33%) | |
| CMYK | cmyk(100%, 98%, 0%, 67%) | |
| CIE LAB | lab(6.17, 33.14, -47.02) | |
| CIE LCH | lch(6.17, 57.53, 305.18) | |
| CIE XYZ | xyz(1.621, 0.683, 8.432) | |
| Decimal | 596 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #000254, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #000254 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.47:1 | Pass | Pass | Pass |
| #000254 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.47:1 | Pass | Pass | Pass |
| Sample text | 1.14:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #000254 looks to people with the most common types of color vision deficiency.
#001856Protanopia
no red cones#000f53Deuteranopia
no green cones#001f2eTritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #000254; }
.text { color: #000254; }
.border { border: 2px solid #000254; }
.transparent { background-color: rgb(0 2 84 / 50%); }
.gradient { background: linear-gradient(to right, #000254, #280054); }
Similar colors
#0a0555Ravenclaw#0f084bSilent Twilight#000066Alone in the Dark#150f5bSpace Colonisation#000044Endless Galaxy#110066The Vast of Night#001155Interstellar Blue#111166Dying Storm Blue
Closest common color name: Midnight Blue.
Questions
- What color is #000254?
- #000254 is a very dark, vivid blue, closest to the named color Ravenclaw. It belongs to the black family of colors.
- What is the RGB value of #000254?
- The RGB value is 0, 2, 84: 0 red, 2 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #000254?
- The complementary color is #545200, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #000254?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.47:1. WCAG asks for at least 4.5:1 for normal text.