#338BE7
Closest named color: Dark Sky Blue (#448EE4). oklch(63% 0.161 252.8), rgb(51, 139, 231).
Aa
Black text reads best on this color (5.98:1).
About this color
#338BE7 is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.161 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.016 away. Black text reads best on it, at 5.98:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.161) |
| Temperature | cool |
| Nearest name | Dark Sky Blue (#448EE4) |
| Black text | 5.98:1 |
| White text | 3.50:1 |
Values
| HEX | #338BE7 |
| RGB | rgb(51, 139, 231) |
| HSL | hsl(211, 79%, 55%) |
| OKLCH | oklch(63% 0.161 252.8) |
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 #338BE7 | 3.50:1 | AA large text | Lc -67.7 | Content text, not long reading |
| Black text on #338BE7 | 5.98:1 | AA | Lc 41.9 | Non-text elements, placeholder text |
| #338BE7 text on white | 3.50:1 | AA large text | Lc 62.2 | Content text, not long reading |
| #338BE7 text on black | 5.98:1 | AA | Lc -39.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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#DFEBF9
oklch(93.5% 0.023 252.2)
-
Step 200
200
#C5DCF6
oklch(88.6% 0.044 251.5)
-
Step 300
300
#9CC4F3
oklch(80.8% 0.079 252.8)
-
Step 400
400
#64A4ED
oklch(70.7% 0.126 252.8)
-
Step 500
500 (this color)
#338BE7
oklch(63% 0.161 252.8)
-
Step 600
600
#0073D3
oklch(55.6% 0.171 252.9)
-
Step 700
700
#0061B2
oklch(49.2% 0.149 252.5)
-
Step 800
800
#004F93
oklch(42.7% 0.13 252.6)
-
Step 900
900
#0C4277
oklch(37.7% 0.105 252.7)
-
Step 950
950
#0A2746
oklch(27% 0.067 252.9)
#338BE7 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) | #5E92EB | 0.043 |
| Deuteranopia (no green cones) | #4181E5 | 0.026 |
| Tritanopia (no blue cones) | #00A1AE | 0.121 |
| Achromatopsia (no color) | #898989 | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338BE7
#338BE7
oklch(63% 0.161 252.8)
- #BA7A00
#BA7A00
oklch(63.1% 0.135 72.7)
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 #338BE7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Sky Blue #448EE4 ΔE 0.016
- Chefchaouen Blue #4895EF ΔE 0.034
- Dodger Blue #1E90FF ΔE 0.036
- Soft Blue #6488EA ΔE 0.043
- Water Blue #0E87CC ΔE 0.046
- Cornflower Blue #6495ED ΔE 0.054
- Clear Blue #247AFD ΔE 0.060
- Cool Blue #4984B8 ΔE 0.070
Use #338BE7 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.