#338FC2
Closest named color: Cool Blue (#4984B8). oklch(61.9% 0.115 237.4), rgb(51, 143, 194).
Aa
Black text reads best on this color (5.84:1).
About this color
#338FC2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.115 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.032 away. Black text reads best on it, at 5.84:1.
| Hue family | Blues |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.115) |
| Temperature | cool |
| Nearest name | Cool Blue (#4984B8) |
| Black text | 5.84:1 |
| White text | 3.59:1 |
Values
| HEX | #338FC2 |
| RGB | rgb(51, 143, 194) |
| HSL | hsl(201, 58%, 48%) |
| OKLCH | oklch(61.9% 0.115 237.4) |
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 #338FC2 | 3.59:1 | AA large text | Lc -68.6 | Content text, not long reading |
| Black text on #338FC2 | 5.84:1 | AA | Lc 40.9 | Non-text elements, placeholder text |
| #338FC2 text on white | 3.59:1 | AA large text | Lc 63.2 | Content text, not long reading |
| #338FC2 text on black | 5.84: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
#F1F6FA
oklch(97.1% 0.008 241.7)
-
Step 100
100
#E0ECF4
oklch(93.6% 0.017 236.7)
-
Step 200
200
#C7DDEC
oklch(88.6% 0.031 237.6)
-
Step 300
300
#9FC7E1
oklch(81% 0.056 236.9)
-
Step 400
400
#68A9D2
oklch(70.7% 0.09 237.6)
-
Step 500
500 (this color)
#338FC2
oklch(61.9% 0.115 237.4)
-
Step 600
600
#007CB1
oklch(55.6% 0.122 237.2)
-
Step 700
700
#006896
oklch(49.1% 0.108 237.6)
-
Step 800
800
#00557C
oklch(42.7% 0.094 237.9)
-
Step 900
900
#0F4764
oklch(37.8% 0.074 236.9)
-
Step 950
950
#0C2A3B
oklch(27.2% 0.047 237.1)
#338FC2 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) | #778FC4 | 0.066 |
| Deuteranopia (no green cones) | #6381C1 | 0.053 |
| Tritanopia (no blue cones) | #009CA1 | 0.074 |
| Achromatopsia (no color) | #878787 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #338FC2
#338FC2
oklch(61.9% 0.115 237.4)
- #B97339
#B97339
oklch(62% 0.115 57.9)
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 #338FC2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Blue #4984B8 ΔE 0.032
- Blue NCS #118AB2 ΔE 0.033
- Water Blue #0E87CC ΔE 0.035
- Steel Blue #4682B4 ΔE 0.038
- Off Blue #5684AE ΔE 0.042
- Dusty Blue #5A86AD ΔE 0.043
- Faded Blue #658CBB ΔE 0.043
- Dark Sky Blue #448EE4 ΔE 0.056
Use #338FC2 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.