#284E8A
Closest named color: Dusk Blue (#26538D). oklch(42.8% 0.109 259.2), rgb(40, 78, 138).
Aa
White text reads best on this color (8.24:1).
About this color
#284E8A is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.109 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.014 away. White text reads best on it, at 8.24:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.109) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.54:1 |
| White text | 8.24:1 |
Values
| HEX | #284E8A |
| RGB | rgb(40, 78, 138) |
| HSL | hsl(217, 55%, 35%) |
| OKLCH | oklch(42.8% 0.109 259.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #284E8A | 8.24:1 | AAA | Lc -92.9 | Preferred for body text |
| Black text on #284E8A | 2.54:1 | Fails | Lc 15.8 | Dividers and decoration only |
| #284E8A text on white | 8.24:1 | AAA | Lc 88.2 | Fine for body text |
| #284E8A text on black | 2.54:1 | Fails | Lc -13.9 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E3EAF7
oklch(93.6% 0.019 263)
-
Step 200
200
#CCDAF1
oklch(88.5% 0.035 260.4)
-
Step 300
300
#A8C2EA
oklch(80.8% 0.064 258.9)
-
Step 400
400
#7AA2E0
oklch(70.8% 0.101 258.9)
-
Step 500
500
#5889D7
oklch(63.1% 0.13 259.3)
-
Step 600
600
#3D71C5
oklch(55.5% 0.142 259.6)
-
Step 700
700
#2F5FAA
oklch(49.2% 0.131 259.1)
-
Step 800
800 (this color)
#284E8A
oklch(42.8% 0.109 259.2)
-
Step 900
900
#25416E
oklch(37.7% 0.085 259.5)
-
Step 950
950
#162640
oklch(26.9% 0.053 259.7)
#284E8A with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #32538C | 0.019 |
| Deuteranopia (no green cones) | #214A89 | 0.014 |
| Tritanopia (no blue cones) | #005C65 | 0.087 |
| Achromatopsia (no color) | #4F4F4F | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #284E8A
#284E8A
oklch(42.8% 0.109 259.2)
- #694800
#694800
oklch(42.7% 0.089 78.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #284E8A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.014
- Light Navy #155084 ΔE 0.019
- Cobalt #1E488F ΔE 0.023
- Deep Sea Blue #015482 ΔE 0.031
- Light Navy Blue #2E5A88 ΔE 0.038
- Denim Blue #3B5B92 ΔE 0.046
- Twilight Blue #0A437A ΔE 0.049
- Twilight #4E518B ΔE 0.050
Use #284E8A in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.