#334585
Closest named color: Cobalt (#1E488F). oklch(41% 0.109 269.3), rgb(51, 69, 133).
Aa
White text reads best on this color (9.01:1).
About this color
#334585 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.109 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.026 away. White text reads best on it, at 9.01:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.109) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.33:1 |
| White text | 9.01:1 |
Values
| HEX | #334585 |
| RGB | rgb(51, 69, 133) |
| HSL | hsl(227, 45%, 36%) |
| OKLCH | oklch(41% 0.109 269.3) |
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 #334585 | 9.01:1 | AAA | Lc -94.9 | Preferred for body text |
| Black text on #334585 | 2.33:1 | Fails | Lc 13.5 | Not readable |
| #334585 text on white | 9.01:1 | AAA | Lc 90.5 | Preferred for body text |
| #334585 text on black | 2.33:1 | Fails | Lc -11.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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E5EAF7
oklch(93.7% 0.018 269.1)
-
Step 200
200
#CFD9F1
oklch(88.5% 0.035 267.6)
-
Step 300
300
#B0C0EB
oklch(81% 0.063 269)
-
Step 400
400
#879EE1
oklch(70.8% 0.102 269.2)
-
Step 500
500
#6A84D8
oklch(63.1% 0.13 269.4)
-
Step 600
600
#526CC5
oklch(55.5% 0.141 269.2)
-
Step 700
700
#435AAB
oklch(49.2% 0.132 269.2)
-
Step 800
800 (this color)
#334585
oklch(41% 0.109 269.3)
-
Step 900
900
#2F3E6E
oklch(37.6% 0.085 269)
-
Step 950
950
#1C2541
oklch(27.1% 0.054 269.1)
#334585 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) | #264D87 | 0.025 |
| Deuteranopia (no green cones) | #194684 | 0.026 |
| Tritanopia (no blue cones) | #00535E | 0.095 |
| Achromatopsia (no color) | #494949 | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334585
#334585
oklch(41% 0.109 269.3)
- #5D4700
#5D4700
oklch(41% 0.084 88.3)
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 #334585, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.026
- Dark Slate Blue #483D8B ΔE 0.038
- Light Navy #155084 ΔE 0.039
- Dusk Blue #26538D ΔE 0.040
- Blueberry #464196 ΔE 0.041
- Twilight Blue #0A437A ΔE 0.043
- Deep Sea Blue #015482 ΔE 0.052
- Twilight #4E518B ΔE 0.055
Use #334585 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.