#338EB7
Closest named color: Blue NCS (#118AB2). oklch(61.1% 0.104 231.7), rgb(51, 142, 183).
Aa
Black text reads best on this color (5.69:1).
About this color
#338EB7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.104 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.022 away. Black text reads best on it, at 5.69:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.104) |
| Temperature | cool |
| Nearest name | Blue NCS (#118AB2) |
| Black text | 5.69:1 |
| White text | 3.68:1 |
Values
| HEX | #338EB7 |
| RGB | rgb(51, 142, 183) |
| HSL | hsl(199, 56%, 46%) |
| OKLCH | oklch(61.1% 0.104 231.7) |
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 #338EB7 | 3.68:1 | AA large text | Lc -69.6 | Content text, not long reading |
| Black text on #338EB7 | 5.69:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #338EB7 text on white | 3.68:1 | AA large text | Lc 64.1 | Content text, not long reading |
| #338EB7 text on black | 5.69:1 | AA | Lc -37.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
#F1F6F9
oklch(97% 0.007 233.6)
-
Step 100
100
#E1ECF2
oklch(93.7% 0.014 231.2)
-
Step 200
200
#C7DDE9
oklch(88.5% 0.029 231.5)
-
Step 300
300
#A0C7DC
oklch(80.8% 0.051 231.7)
-
Step 400
400
#6AAACB
oklch(70.7% 0.082 232)
-
Step 500
500 (this color)
#338EB7
oklch(61.1% 0.104 231.7)
-
Step 600
600
#007EAA
oklch(55.7% 0.113 231.8)
-
Step 700
700
#006A8F
oklch(49.2% 0.1 231.3)
-
Step 800
800
#005676
oklch(42.6% 0.087 232.3)
-
Step 900
900
#11475F
oklch(37.6% 0.068 232.3)
-
Step 950
950
#0D2A38
oklch(27% 0.043 232.5)
#338EB7 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) | #798CB9 | 0.069 |
| Deuteranopia (no green cones) | #677FB6 | 0.059 |
| Tritanopia (no blue cones) | #00999C | 0.063 |
| Achromatopsia (no color) | #858585 | 0.104 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338EB7
#338EB7
oklch(61.1% 0.104 231.7)
- #B57046
#B57046
oklch(61.1% 0.105 51.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 #338EB7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue NCS #118AB2 ΔE 0.022
- Cool Blue #4984B8 ΔE 0.031
- Steel Blue #4682B4 ΔE 0.034
- Off Blue #5684AE ΔE 0.036
- Dusty Blue #5A86AD ΔE 0.036
- Water Blue #0E87CC ΔE 0.045
- Teal Blue #01889F ΔE 0.045
- Faded Blue #658CBB ΔE 0.045
Use #338EB7 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.