#335366
Closest named color: YInMn Blue (#415A77). oklch(42.6% 0.049 235.7), rgb(51, 83, 102).
Aa
White text reads best on this color (8.17:1).
About this color
#335366 is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.049 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.038 away. White text reads best on it, at 8.17:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | muted (0.049) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.56:1 |
| White text | 8.17:1 |
Values
| HEX | #335366 |
| RGB | rgb(51, 83, 102) |
| HSL | hsl(202, 33%, 30%) |
| OKLCH | oklch(42.6% 0.049 235.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 #335366 | 8.17:1 | AAA | Lc -92.8 | Preferred for body text |
| Black text on #335366 | 2.56:1 | Fails | Lc 15.8 | Dividers and decoration only |
| #335366 text on white | 8.17:1 | AAA | Lc 88.2 | Fine for body text |
| #335366 text on black | 2.56:1 | Fails | Lc -14.0 | 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
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E5EBEF
oklch(93.7% 0.008 236.6)
-
Step 200
200
#D0DBE2
oklch(88.5% 0.015 235.4)
-
Step 300
300
#B0C4D1
oklch(80.9% 0.029 236.3)
-
Step 400
400
#86A6BA
oklch(70.8% 0.046 235.7)
-
Step 500
500
#6690A8
oklch(63.2% 0.059 234)
-
Step 600
600
#4D7994
oklch(55.5% 0.064 236.5)
-
Step 700
700
#3E667E
oklch(49.1% 0.059 236.1)
-
Step 800
800 (this color)
#335366
oklch(42.6% 0.049 235.7)
-
Step 900
900
#2D4553
oklch(37.7% 0.038 234.8)
-
Step 950
950
#1B2831
oklch(26.9% 0.025 239.1)
#335366 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) | #4A5267 | 0.031 |
| Deuteranopia (no green cones) | #434D66 | 0.026 |
| Tritanopia (no blue cones) | #1B5859 | 0.038 |
| Achromatopsia (no color) | #4F4F4F | 0.049 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335366
#335366
oklch(42.6% 0.049 235.7)
- #644834
#644834
oklch(42.7% 0.049 56.5)
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 #335366, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.038
- Dark Slate Gray #2F4F4F ΔE 0.039
- Deep Teal #00555A ΔE 0.043
- Petrol #005F6A ΔE 0.044
- Dark Grey Blue #29465B ΔE 0.045
- Charcoal #264653 ΔE 0.051
- Deep Sea Blue #015482 ΔE 0.054
- Dusty Grape #545775 ΔE 0.055
Use #335366 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.