#336398
Closest named color: Denim (#3B638C). oklch(49.2% 0.1 252.5), rgb(51, 99, 152).
Aa
White text reads best on this color (6.21:1).
About this color
#336398 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.100 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.020 away. White text reads best on it, at 6.21:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.100) |
| Temperature | cool |
| Nearest name | Denim (#3B638C) |
| Black text | 3.37:1 |
| White text | 6.21:1 |
Values
| HEX | #336398 |
| RGB | rgb(51, 99, 152) |
| HSL | hsl(211, 50%, 40%) |
| OKLCH | oklch(49.2% 0.1 252.5) |
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 #336398 | 6.21:1 | AA | Lc -85.9 | Fine for body text |
| Black text on #336398 | 3.37:1 | AA large text | Lc 23.3 | Dividers and decoration only |
| #336398 text on white | 6.21:1 | AA | Lc 80.8 | Fine for body text |
| #336398 text on black | 3.37:1 | AA large text | Lc -21.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
#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
#ABC3E0
oklch(80.9% 0.049 253.3)
-
Step 400
400
#7EA4D0
oklch(70.7% 0.077 252.5)
-
Step 500
500
#5C8DC4
oklch(63.2% 0.099 252.2)
-
Step 600
600
#4176B1
oklch(55.6% 0.108 252.6)
-
Step 700
700 (this color)
#336398
oklch(49.2% 0.1 252.5)
-
Step 800
800
#2B517B
oklch(42.7% 0.083 252.4)
-
Step 900
900
#274363
oklch(37.6% 0.065 252.8)
-
Step 950
950
#17283A
oklch(27.1% 0.041 250.8)
#336398 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) | #4C669A | 0.030 |
| Deuteranopia (no green cones) | #3E5C97 | 0.021 |
| Tritanopia (no blue cones) | #006F76 | 0.079 |
| Achromatopsia (no color) | #616161 | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #336398
#336398
oklch(49.2% 0.1 252.5)
- #83560C
#83560C
oklch(49.1% 0.1 72.4)
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 #336398, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim #3B638C ΔE 0.020
- Dusky Blue #475F94 ΔE 0.023
- Denim Blue #3B5B92 ΔE 0.023
- Peacock Blue #016795 ΔE 0.028
- Light Navy Blue #2E5A88 ΔE 0.035
- Ocean Blue #03719C ΔE 0.043
- Muted Blue #3B719F ΔE 0.043
- French Blue #436BAD ΔE 0.043
Use #336398 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.