#335F89
Closest named color: Denim (#3B638C). oklch(47.4% 0.084 249), rgb(51, 95, 137).
Aa
White text reads best on this color (6.69:1).
About this color
#335F89 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.084 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.016 away. White text reads best on it, at 6.69:1.
| Hue family | Blues |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.084) |
| Temperature | cool |
| Nearest name | Denim (#3B638C) |
| Black text | 3.13:1 |
| White text | 6.69:1 |
Values
| HEX | #335F89 |
| RGB | rgb(51, 95, 137) |
| HSL | hsl(209, 46%, 37%) |
| OKLCH | oklch(47.4% 0.084 249) |
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 #335F89 | 6.69:1 | AA | Lc -87.9 | Fine for body text |
| Black text on #335F89 | 3.13:1 | AA large text | Lc 21.2 | Dividers and decoration only |
| #335F89 text on white | 6.69:1 | AA | Lc 82.8 | Fine for body text |
| #335F89 text on black | 3.13:1 | AA large text | Lc -19.1 | Dividers and decoration only |
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 700.
-
Step 50
50
#F3F6F9
oklch(97.2% 0.005 247.9)
-
Step 100
100
#E4EBF2
oklch(93.7% 0.012 248)
-
Step 200
200
#CEDBE8
oklch(88.6% 0.023 248.1)
-
Step 300
300
#ADC3DA
oklch(80.8% 0.041 249.5)
-
Step 400
400
#81A4C8
oklch(70.6% 0.066 249.5)
-
Step 500
500
#618EBA
oklch(63.2% 0.083 248.7)
-
Step 600
600
#4777A6
oklch(55.6% 0.09 249.3)
-
Step 700
700 (this color)
#335F89
oklch(47.4% 0.084 249)
-
Step 800
800
#2F5274
oklch(42.8% 0.07 249.1)
-
Step 900
900
#2A445D
oklch(37.7% 0.054 248.5)
-
Step 950
950
#192837
oklch(27.1% 0.035 249.2)
#335F89 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) | #4D618B | 0.032 |
| Deuteranopia (no green cones) | #415888 | 0.024 |
| Tritanopia (no blue cones) | #00696E | 0.068 |
| Achromatopsia (no color) | #5C5C5C | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335F89
#335F89
oklch(47.4% 0.084 249)
- #7A5220
#7A5220
oklch(47.3% 0.084 69)
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 #335F89, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim #3B638C ΔE 0.016
- Light Navy Blue #2E5A88 ΔE 0.017
- Denim Blue #3B5B92 ΔE 0.022
- Dusky Blue #475F94 ΔE 0.030
- YInMn Blue #415A77 ΔE 0.031
- Peacock Blue #016795 ΔE 0.033
- Dusk Blue #26538D ΔE 0.042
- Dusk #4E5481 ΔE 0.042
Use #335F89 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.