#284796
Closest named color: Cobalt (#1E488F). oklch(42.1% 0.135 265), rgb(40, 71, 150).
Aa
White text reads best on this color (8.63:1).
About this color
#284796 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.135 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.015 away. White text reads best on it, at 8.63:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.135) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.43:1 |
| White text | 8.63:1 |
Values
| HEX | #284796 |
| RGB | rgb(40, 71, 150) |
| HSL | hsl(223, 58%, 37%) |
| OKLCH | oklch(42.1% 0.135 265) |
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 #284796 | 8.63:1 | AAA | Lc -93.8 | Preferred for body text |
| Black text on #284796 | 2.43:1 | Fails | Lc 14.7 | Not readable |
| #284796 text on white | 8.63:1 | AAA | Lc 89.3 | Fine for body text |
| #284796 text on black | 2.43:1 | Fails | Lc -13.0 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E2EAFA
oklch(93.6% 0.023 264.5)
-
Step 200
200
#CBD9F7
oklch(88.4% 0.044 265.6)
-
Step 300
300
#A8C0F5
oklch(80.9% 0.08 265.7)
-
Step 400
400
#7A9EEF
oklch(70.7% 0.126 265.1)
-
Step 500
500
#5984EA
oklch(63.2% 0.161 265)
-
Step 600
600
#3F6BD8
oklch(55.6% 0.174 264.8)
-
Step 700
700
#3258BC
oklch(49.1% 0.164 265.2)
-
Step 800
800 (this color)
#284796
oklch(42.1% 0.135 265)
-
Step 900
900
#253E79
oklch(37.8% 0.105 264.6)
-
Step 950
950
#162547
oklch(27.1% 0.066 264.5)
#284796 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) | #145199 | 0.028 |
| Deuteranopia (no green cones) | #004794 | 0.025 |
| Tritanopia (no blue cones) | #005A67 | 0.109 |
| Achromatopsia (no color) | #4C4C4C | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #284796
#284796
oklch(42.1% 0.135 265)
- #634900
#634900
oklch(42.2% 0.086 85.1)
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 #284796, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.015
- Dusk Blue #26538D ΔE 0.039
- Blueberry #464196 ΔE 0.040
- Light Navy #155084 ΔE 0.044
- Dark Slate Blue #483D8B ΔE 0.049
- Sapphire #2138AB ΔE 0.052
- Twilight Blue #0A437A ΔE 0.055
- Deep Sea Blue #015482 ΔE 0.057
Use #284796 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.