#336397
Closest named color: Denim (#3B638C). oklch(49.1% 0.099 252.1), rgb(51, 99, 151).
Aa
White text reads best on this color (6.22:1).
About this color
#336397 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.099 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.019 away. White text reads best on it, at 6.22:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.099) |
| Temperature | cool |
| Nearest name | Denim (#3B638C) |
| Black text | 3.37:1 |
| White text | 6.22:1 |
Values
| HEX | #336397 |
| RGB | rgb(51, 99, 151) |
| HSL | hsl(211, 50%, 40%) |
| OKLCH | oklch(49.1% 0.099 252.1) |
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 #336397 | 6.22:1 | AA | Lc -86.0 | Fine for body text |
| Black text on #336397 | 3.37:1 | AA large text | Lc 23.2 | Dividers and decoration only |
| #336397 text on white | 6.22:1 | AA | Lc 80.8 | Fine for body text |
| #336397 text on black | 3.37:1 | AA large text | Lc -21.0 | 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
#F2F6FA
oklch(97.1% 0.007 247.9)
-
Step 100
100
#E3EBF3
oklch(93.6% 0.014 248)
-
Step 200
200
#CDDBEB
oklch(88.6% 0.027 251.7)
-
Step 300
300
#ABC3DF
oklch(80.8% 0.048 252.4)
-
Step 400
400
#7EA4D0
oklch(70.7% 0.077 252.5)
-
Step 500
500
#5C8DC3
oklch(63.1% 0.098 251.8)
-
Step 600
600
#4176B0
oklch(55.6% 0.107 252.2)
-
Step 700
700 (this color)
#336397
oklch(49.1% 0.099 252.1)
-
Step 800
800
#2B517A
oklch(42.7% 0.081 251.8)
-
Step 900
900
#274363
oklch(37.6% 0.065 252.8)
-
Step 950
950
#17283A
oklch(27.1% 0.041 250.8)
#336397 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) | #4C6699 | 0.030 |
| Deuteranopia (no green cones) | #3F5C96 | 0.022 |
| Tritanopia (no blue cones) | #006F76 | 0.078 |
| Achromatopsia (no color) | #616161 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #336397
#336397
oklch(49.1% 0.099 252.1)
- #83560F
#83560F
oklch(49.1% 0.099 71.9)
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 #336397, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim #3B638C ΔE 0.019
- Dusky Blue #475F94 ΔE 0.023
- Denim Blue #3B5B92 ΔE 0.023
- Peacock Blue #016795 ΔE 0.027
- Light Navy Blue #2E5A88 ΔE 0.034
- Ocean Blue #03719C ΔE 0.042
- Muted Blue #3B719F ΔE 0.043
- French Blue #436BAD ΔE 0.044
Use #336397 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.