#336898
Closest named color: Denim (#3B638C). oklch(50.4% 0.096 248.2), rgb(51, 104, 152).
Aa
White text reads best on this color (5.87:1).
About this color
#336898 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.096 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.021 away. White text reads best on it, at 5.87:1.
| Hue family | Blues |
| Lightness | medium-dark (50%) |
| Chroma | moderately saturated (0.096) |
| Temperature | cool |
| Nearest name | Denim (#3B638C) |
| Black text | 3.57:1 |
| White text | 5.87:1 |
Values
| HEX | #336898 |
| RGB | rgb(51, 104, 152) |
| HSL | hsl(209, 50%, 40%) |
| OKLCH | oklch(50.4% 0.096 248.2) |
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 #336898 | 5.87:1 | AA | Lc -84.4 | Fine for body text |
| Black text on #336898 | 3.57:1 | AA large text | Lc 24.9 | Dividers and decoration only |
| #336898 text on white | 5.87:1 | AA | Lc 79.2 | Fine for body text |
| #336898 text on black | 3.57:1 | AA large text | Lc -22.6 | 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
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E3EBF3
oklch(93.6% 0.014 248)
-
Step 200
200
#CCDBEA
oklch(88.5% 0.026 248.1)
-
Step 300
300
#AAC4DE
oklch(80.9% 0.046 248.4)
-
Step 400
400
#7CA5CD
oklch(70.7% 0.074 248.3)
-
Step 500
500
#598EC0
oklch(63% 0.095 248.2)
-
Step 600
600
#3E78AC
oklch(55.7% 0.102 247.8)
-
Step 700
700 (this color)
#336898
oklch(50.4% 0.096 248.2)
-
Step 800
800
#285278
oklch(42.7% 0.079 248)
-
Step 900
900
#254461
oklch(37.7% 0.062 248.3)
-
Step 950
950
#162839
oklch(27% 0.04 248.2)
#336898 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) | #536A9A | 0.037 |
| Deuteranopia (no green cones) | #456097 | 0.027 |
| Tritanopia (no blue cones) | #007379 | 0.073 |
| Achromatopsia (no color) | #646464 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #336898
#336898
oklch(50.4% 0.096 248.2)
- #88591D
#88591D
oklch(50.5% 0.096 68.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 #336898, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim #3B638C ΔE 0.021
- Peacock Blue #016795 ΔE 0.027
- Muted Blue #3B719F ΔE 0.029
- Dusky Blue #475F94 ΔE 0.030
- Ocean Blue #03719C ΔE 0.031
- Denim Blue #3B5B92 ΔE 0.037
- French Blue #436BAD ΔE 0.039
- Flat Blue #3C73A8 ΔE 0.039
Use #336898 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.