#338AC9
Closest named color: Water Blue (#0E87CC). oklch(61.1% 0.126 244.2), rgb(51, 138, 201).
Aa
Black text reads best on this color (5.61:1).
About this color
#338AC9 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.126 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.019 away. Black text reads best on it, at 5.61:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.126) |
| Temperature | cool |
| Nearest name | Water Blue (#0E87CC) |
| Black text | 5.61:1 |
| White text | 3.73:1 |
Values
| HEX | #338AC9 |
| RGB | rgb(51, 138, 201) |
| HSL | hsl(205, 60%, 49%) |
| OKLCH | oklch(61.1% 0.126 244.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 #338AC9 | 3.73:1 | AA large text | Lc -70.1 | Content text, not long reading |
| Black text on #338AC9 | 5.61:1 | AA | Lc 39.5 | Non-text elements, placeholder text |
| #338AC9 text on white | 3.73:1 | AA large text | Lc 64.6 | Content text, not long reading |
| #338AC9 text on black | 5.61:1 | AA | Lc -37.1 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F1F6FB
oklch(97.1% 0.009 247.9)
-
Step 100
100
#E0EBF5
oklch(93.5% 0.018 245.4)
-
Step 200
200
#C7DCEF
oklch(88.5% 0.035 245.5)
-
Step 300
300
#9FC6E6
oklch(80.9% 0.062 243.3)
-
Step 400
400
#69A7DA
oklch(70.7% 0.099 244.7)
-
Step 500
500 (this color)
#338AC9
oklch(61.1% 0.126 244.2)
-
Step 600
600
#0379BD
oklch(55.6% 0.137 244.4)
-
Step 700
700
#0066A0
oklch(49.2% 0.121 244)
-
Step 800
800
#015384
oklch(42.7% 0.106 244.4)
-
Step 900
900
#11456A
oklch(37.7% 0.083 244.6)
-
Step 950
950
#0C293E
oklch(27.1% 0.052 243.5)
#338AC9 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) | #6D8CCC | 0.056 |
| Deuteranopia (no green cones) | #587EC8 | 0.042 |
| Tritanopia (no blue cones) | #0099A0 | 0.089 |
| Achromatopsia (no color) | #848484 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338AC9
#338AC9
oklch(61.1% 0.126 244.2)
- #B77120
#B77120
oklch(61.1% 0.126 64.1)
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 #338AC9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Water Blue #0E87CC ΔE 0.019
- Cool Blue #4984B8 ΔE 0.029
- Steel Blue #4682B4 ΔE 0.035
- Blue NCS #118AB2 ΔE 0.041
- Dark Sky Blue #448EE4 ΔE 0.044
- Off Blue #5684AE ΔE 0.046
- Faded Blue #658CBB ΔE 0.049
- Dusty Blue #5A86AD ΔE 0.050
Use #338AC9 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.