#338BD9
Closest named color: Dark Sky Blue (#448EE4). oklch(62.2% 0.144 249.2), rgb(51, 139, 217).
Aa
Black text reads best on this color (5.83:1).
About this color
#338BD9 is a medium-light, vivid blue. In OKLCH its lightness is 62%, its chroma 0.144 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.023 away. Black text reads best on it, at 5.83:1.
| Hue family | Blues |
| Lightness | medium-light (62%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Dark Sky Blue (#448EE4) |
| Black text | 5.83:1 |
| White text | 3.59:1 |
Values
| HEX | #338BD9 |
| RGB | rgb(51, 139, 217) |
| HSL | hsl(208, 69%, 53%) |
| OKLCH | oklch(62.2% 0.144 249.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 #338BD9 | 3.59:1 | AA large text | Lc -68.7 | Content text, not long reading |
| Black text on #338BD9 | 5.83:1 | AA | Lc 40.9 | Non-text elements, placeholder text |
| #338BD9 text on white | 3.59:1 | AA large text | Lc 63.2 | Content text, not long reading |
| #338BD9 text on black | 5.83:1 | AA | Lc -38.5 | 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
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E0EBF7
oklch(93.5% 0.02 250.4)
-
Step 200
200
#C6DCF3
oklch(88.5% 0.04 249.5)
-
Step 300
300
#9EC5ED
oklch(80.9% 0.071 249.4)
-
Step 400
400
#66A6E4
oklch(70.8% 0.113 249)
-
Step 500
500 (this color)
#338BD9
oklch(62.2% 0.144 249.2)
-
Step 600
600
#0076C8
oklch(55.5% 0.154 249.2)
-
Step 700
700
#0063A9
oklch(49% 0.136 249.1)
-
Step 800
800
#00518C
oklch(42.7% 0.118 249.2)
-
Step 900
900
#0E4471
oklch(37.8% 0.094 249)
-
Step 950
950
#0B2842
oklch(27% 0.059 248.9)
#338BD9 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) | #678FDC | 0.049 |
| Deuteranopia (no green cones) | #4E80D7 | 0.033 |
| Tritanopia (no blue cones) | #009EA8 | 0.106 |
| Achromatopsia (no color) | #878787 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338BD9
#338BD9
oklch(62.2% 0.144 249.2)
- #BA7500
#BA7500
oklch(62.1% 0.135 69.2)
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 #338BD9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Sky Blue #448EE4 ΔE 0.023
- Water Blue #0E87CC ΔE 0.029
- Chefchaouen Blue #4895EF ΔE 0.045
- Cool Blue #4984B8 ΔE 0.050
- Soft Blue #6488EA ΔE 0.052
- Dodger Blue #1E90FF ΔE 0.056
- Steel Blue #4682B4 ΔE 0.057
- Windows Blue #3778BF ΔE 0.060
Use #338BD9 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.