#334486
Closest named color: Cobalt (#1E488F). oklch(40.9% 0.112 270), rgb(51, 68, 134).
Aa
White text reads best on this color (9.08:1).
About this color
#334486 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.112 and its hue 270°. 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.08:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.31:1 |
| White text | 9.08:1 |
Values
| HEX | #334486 |
| RGB | rgb(51, 68, 134) |
| HSL | hsl(228, 45%, 36%) |
| OKLCH | oklch(40.9% 0.112 270) |
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 #334486 | 9.08:1 | AAA | Lc -95.1 | Preferred for body text |
| Black text on #334486 | 2.31:1 | Fails | Lc 13.3 | Not readable |
| #334486 text on white | 9.08:1 | AAA | Lc 90.7 | Preferred for body text |
| #334486 text on black | 2.31:1 | Fails | Lc -11.6 | 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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E5EAF7
oklch(93.7% 0.018 269.1)
-
Step 200
200
#D0D9F2
oklch(88.6% 0.036 269.9)
-
Step 300
300
#B0BFEC
oklch(80.9% 0.066 270.5)
-
Step 400
400
#879DE2
oklch(70.6% 0.104 270.1)
-
Step 500
500
#6A83DA
oklch(63% 0.134 270.1)
-
Step 600
600
#536BC8
oklch(55.6% 0.146 270.2)
-
Step 700
700
#4459AD
oklch(49.2% 0.136 270.2)
-
Step 800
800 (this color)
#334486
oklch(40.9% 0.112 270)
-
Step 900
900
#303E70
oklch(37.8% 0.087 270)
-
Step 950
950
#1C2441
oklch(26.9% 0.055 270.7)
#334486 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) | #234C88 | 0.026 |
| Deuteranopia (no green cones) | #154585 | 0.029 |
| Tritanopia (no blue cones) | #00535E | 0.098 |
| Achromatopsia (no color) | #484848 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334486
#334486
oklch(40.9% 0.112 270)
- #5C4700
#5C4700
oklch(40.9% 0.084 89.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 #334486, 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.036
- Blueberry #464196 ΔE 0.039
- Light Navy #155084 ΔE 0.041
- Dusk Blue #26538D ΔE 0.042
- Twilight Blue #0A437A ΔE 0.043
- Deep Sea Blue #015482 ΔE 0.055
- Twilight #4E518B ΔE 0.057
Use #334486 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.