#335B7B
Closest named color: YInMn Blue (#415A77). oklch(45.6% 0.069 244.3), rgb(51, 91, 123).
Aa
White text reads best on this color (7.18:1).
About this color
#335B7B is a medium-dark, muted blue. In OKLCH its lightness is 46%, its chroma 0.069 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.016 away. White text reads best on it, at 7.18:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | muted (0.069) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.92:1 |
| White text | 7.18:1 |
Values
| HEX | #335B7B |
| RGB | rgb(51, 91, 123) |
| HSL | hsl(207, 41%, 34%) |
| OKLCH | oklch(45.6% 0.069 244.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 #335B7B | 7.18:1 | AAA | Lc -89.7 | Fine for body text |
| Black text on #335B7B | 2.92:1 | Fails | Lc 19.2 | Dividers and decoration only |
| #335B7B text on white | 7.18:1 | AAA | Lc 84.8 | Fine for body text |
| #335B7B text on black | 2.92:1 | Fails | Lc -17.2 | 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 800.
-
Step 50
50
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E4EBF1
oklch(93.6% 0.011 243.7)
-
Step 200
200
#CDDBE7
oklch(88.4% 0.022 243.8)
-
Step 300
300
#ABC4D9
oklch(80.8% 0.04 243.6)
-
Step 400
400
#7EA6C7
oklch(70.8% 0.065 243.8)
-
Step 500
500
#5C8FB8
oklch(63.1% 0.083 243.9)
-
Step 600
600
#4179A4
oklch(55.7% 0.09 243.6)
-
Step 700
700
#33658D
oklch(49% 0.084 244.9)
-
Step 800
800 (this color)
#335B7B
oklch(45.6% 0.069 244.3)
-
Step 900
900
#27455C
oklch(37.8% 0.053 243)
-
Step 950
950
#172836
oklch(26.9% 0.035 244.4)
#335B7B 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) | #4D5B7C | 0.032 |
| Deuteranopia (no green cones) | #44547A | 0.027 |
| Tritanopia (no blue cones) | #006366 | 0.058 |
| Achromatopsia (no color) | #575757 | 0.069 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335B7B
#335B7B
oklch(45.6% 0.069 244.3)
- #724E2B
#724E2B
oklch(45.6% 0.07 63.7)
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 #335B7B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.016
- Light Navy Blue #2E5A88 ΔE 0.023
- Denim #3B638C ΔE 0.035
- Denim Blue #3B5B92 ΔE 0.040
- Dusk #4E5481 ΔE 0.041
- Dusty Grape #545775 ΔE 0.042
- Deep Sea Blue #015482 ΔE 0.043
- Dusk Blue #26538D ΔE 0.045
Use #335B7B 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.