#284F9D
Closest named color: Dusk Blue (#26538D). oklch(44.4% 0.135 262.4), rgb(40, 79, 157).
Aa
White text reads best on this color (7.79:1).
About this color
#284F9D is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.135 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.030 away. White text reads best on it, at 7.79:1.
| Hue family | Blues |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.135) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.69:1 |
| White text | 7.79:1 |
Values
| HEX | #284F9D |
| RGB | rgb(40, 79, 157) |
| HSL | hsl(220, 59%, 39%) |
| OKLCH | oklch(44.4% 0.135 262.4) |
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 #284F9D | 7.79:1 | AAA | Lc -91.4 | Preferred for body text |
| Black text on #284F9D | 2.69:1 | Fails | Lc 17.3 | Dividers and decoration only |
| #284F9D text on white | 7.79:1 | AAA | Lc 86.7 | Fine for body text |
| #284F9D text on black | 2.69:1 | Fails | Lc -15.4 | Dividers and decoration only |
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
#F2F6FD
oklch(97.2% 0.01 261.8)
-
Step 100
100
#E2EAFA
oklch(93.6% 0.023 264.5)
-
Step 200
200
#CADAF7
oklch(88.5% 0.044 262.4)
-
Step 300
300
#A5C1F4
oklch(80.8% 0.079 262.3)
-
Step 400
400
#759FEF
oklch(70.6% 0.127 262.5)
-
Step 500
500
#5285EA
oklch(63.1% 0.162 262.5)
-
Step 600
600
#376CD8
oklch(55.5% 0.176 262.5)
-
Step 700
700
#2A5ABB
oklch(49.1% 0.162 262.3)
-
Step 800
800 (this color)
#284F9D
oklch(44.4% 0.135 262.4)
-
Step 900
900
#213F79
oklch(37.8% 0.105 262.1)
-
Step 950
950
#142547
oklch(27% 0.067 262.7)
#284F9D 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) | #2358A0 | 0.024 |
| Deuteranopia (no green cones) | #004D9B | 0.025 |
| Tritanopia (no blue cones) | #00626E | 0.108 |
| Achromatopsia (no color) | #525252 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #284F9D
#284F9D
oklch(44.4% 0.135 262.4)
- #6C4E00
#6C4E00
oklch(44.4% 0.091 83)
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 #284F9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.030
- Cobalt #1E488F ΔE 0.032
- Light Navy #155084 ΔE 0.045
- Denim Blue #3B5B92 ΔE 0.048
- Blueberry #464196 ΔE 0.048
- Light Navy Blue #2E5A88 ΔE 0.052
- Deep Sea Blue #015482 ΔE 0.054
- Twilight #4E518B ΔE 0.056
Use #284F9D 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.