#334497
Closest named color: Blueberry (#464196). oklch(42.2% 0.137 270.7), rgb(51, 68, 151).
Aa
White text reads best on this color (8.69:1).
About this color
#334497 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.137 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.027 away. White text reads best on it, at 8.69:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.137) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.41:1 |
| White text | 8.69:1 |
Values
| HEX | #334497 |
| RGB | rgb(51, 68, 151) |
| HSL | hsl(230, 50%, 40%) |
| OKLCH | oklch(42.2% 0.137 270.7) |
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 #334497 | 8.69:1 | AAA | Lc -94.0 | Preferred for body text |
| Black text on #334497 | 2.41:1 | Fails | Lc 14.5 | Not readable |
| #334497 text on white | 8.69:1 | AAA | Lc 89.5 | Fine for body text |
| #334497 text on black | 2.41:1 | Fails | Lc -12.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 800.
-
Step 50
50
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FA
oklch(93.5% 0.024 272.8)
-
Step 200
200
#CED8F7
oklch(88.4% 0.044 271.3)
-
Step 300
300
#ADBFF5
oklch(81% 0.079 270.3)
-
Step 400
400
#839BF0
oklch(70.7% 0.128 270.9)
-
Step 500
500
#6580EB
oklch(63.1% 0.163 270.5)
-
Step 600
600
#4E66DA
oklch(55.5% 0.179 270.7)
-
Step 700
700
#4054BD
oklch(49.1% 0.166 270.9)
-
Step 800
800 (this color)
#334497
oklch(42.2% 0.137 270.7)
-
Step 900
900
#2D3B79
oklch(37.6% 0.107 270.9)
-
Step 950
950
#1A2347
oklch(26.9% 0.068 270.7)
#334497 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) | #08509A | 0.040 |
| Deuteranopia (no green cones) | #004795 | 0.037 |
| Tritanopia (no blue cones) | #005866 | 0.116 |
| Achromatopsia (no color) | #4B4B4B | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334497
#334497
oklch(42.2% 0.137 270.7)
- #5F4B00
#5F4B00
oklch(42.2% 0.086 91.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 #334497, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.027
- Cobalt #1E488F ΔE 0.027
- Dark Slate Blue #483D8B ΔE 0.038
- Dusk Blue #26538D ΔE 0.047
- Sapphire #2138AB ΔE 0.050
- Light Navy #155084 ΔE 0.054
- Twilight #4E518B ΔE 0.060
- Twilight Blue #0A437A ΔE 0.063
Use #334497 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.