#333E8D
Closest named color: Cobalt (#1E488F). oklch(40.1% 0.131 273.1), rgb(51, 62, 141).
Aa
White text reads best on this color (9.48:1).
About this color
#333E8D is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.131 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.032 away. White text reads best on it, at 9.48:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.131) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.21:1 |
| White text | 9.48:1 |
Values
| HEX | #333E8D |
| RGB | rgb(51, 62, 141) |
| HSL | hsl(233, 47%, 38%) |
| OKLCH | oklch(40.1% 0.131 273.1) |
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 #333E8D | 9.48:1 | AAA | Lc -95.9 | Preferred for body text |
| Black text on #333E8D | 2.21:1 | Fails | Lc 12.3 | Not readable |
| #333E8D text on white | 9.48:1 | AAA | Lc 91.6 | Preferred for body text |
| #333E8D text on black | 2.21:1 | Fails | Lc -10.8 | 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 900.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FD
oklch(93.5% 0.028 272.5)
-
Step 200
200
#CDD8FE
oklch(88.6% 0.054 272.5)
-
Step 300
300
#ACBDFF
oklch(80.9% 0.095 273)
-
Step 400
400
#8297FF
oklch(70.6% 0.154 273.2)
-
Step 500
500
#6579FF
oklch(63.1% 0.198 273)
-
Step 600
600
#505DEF
oklch(55.6% 0.217 273.2)
-
Step 700
700
#414BD0
oklch(49.1% 0.202 273)
-
Step 800
800
#353FA8
oklch(42.7% 0.167 272.9)
-
Step 900
900 (this color)
#333E8D
oklch(40.1% 0.131 273.1)
-
Step 950
950
#1A214E
oklch(27% 0.083 273)
#333E8D 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) | #044A90 | 0.044 |
| Deuteranopia (no green cones) | #00428B | 0.040 |
| Tritanopia (no blue cones) | #00515F | 0.112 |
| Achromatopsia (no color) | #464646 | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #333E8D
#333E8D
oklch(40.1% 0.131 273.1)
- #574600
#574600
oklch(40% 0.082 93)
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 #333E8D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.032
- Dark Slate Blue #483D8B ΔE 0.032
- Blueberry #464196 ΔE 0.034
- Twilight Blue #0A437A ΔE 0.052
- Sapphire #2138AB ΔE 0.056
- Light Navy #155084 ΔE 0.058
- Dusk Blue #26538D ΔE 0.058
- Twilight #4E518B ΔE 0.070
Use #333E8D 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.