#338CBD#338CBD
#338CBD is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.9% C 0.111 H 237.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #338CBD |
|---|---|
| RGB | rgb(51, 140, 189) |
| HSL | hsl(201, 58%, 47%) |
| HSV | hsv(201, 73%, 74%) |
| CMYK | cmyk(73%, 25.9%, 0%, 25.9%) |
| CIE-LAB | lab(55.21, -9.91, -33.11) |
| CIE-LCH | lch(55.21, 34.56, 253.34°) |
| OKLab | oklab(60.93% -0.0605 -0.0933) |
| OKLCH | oklch(60.93% 0.111 237) |
| XYZ | xyz(19.9250, 23.1318, 51.5490) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.78
Cool Blue
#4984B8
ΔE00 4.90
Cerulean (survey)
#0485D1
ΔE00 4.93
Steel Blue
#4682B4
ΔE00 4.93
Dusty Blue
#5A86AD
ΔE00 5.70
Off Blue
#5684AE
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338CBD #BD6433
analogous
#33BDA9 #338CBD #3347BD
triadic
#338CBD #BD338C #8CBD33
tetradic
#338CBD #A933BD #BD6433 #47BD33
square
#338CBD #A933BD #BD6433 #47BD33
split-complementary
#338CBD #BD3347 #BDA933
monochromatic
#19455D #26688D #338CBD #5BA8D3 #8BC2E0
Accessibility & contrast
On white
3.73
#338CBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#338CBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338CBD
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338CBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338CBD | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#758CBF
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#00999D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #338cbd; /* rgb */ color: rgb(51, 140, 189); /* oklch */ color: oklch(60.9% 0.111 237.0);
Tailwind
colors: {
custom: {
50: '#7dadd1',
500: '#338cbd',
950: '#000000',
},
}SCSS
$custom: #338cbd; $custom-light: #7dadd1; $custom-dark: #000000;
JSON
{
"hex": "#338cbd",
"rgb": {
"r": 51,
"g": 140,
"b": 189
},
"hsl": {
"h": 201.304,
"s": 57.5,
"l": 47.059
},
"oklch": {
"l": 0.60925,
"c": 0.11124,
"h": 237
},
"luminance": 0.23134
}Semantic roles & 50–950 ramp
primary
#338CBD
secondary
#CA9C82
accent
#7E47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82