#338FB0#338FB0
#338FB0 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.0% C 0.098 H 225.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #338FB0 |
|---|---|
| RGB | rgb(51, 143, 176) |
| HSL | hsl(196, 55%, 45%) |
| HSV | hsv(196, 71%, 69%) |
| CMYK | cmyk(71%, 18.7%, 0%, 31%) |
| CIE-LAB | lab(55.56, -16.01, -25.14) |
| CIE-LCH | lch(55.56, 29.80, 237.52°) |
| OKLab | oklab(61.03% -0.0682 -0.0704) |
| OKLCH | oklch(61.03% 0.098 225.9) |
| XYZ | xyz(19.0210, 23.4812, 44.5957) |
| Luminance | 0.2348 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.86
Teal Blue
#01889F
ΔE00 5.74
Cerulean
#007BA7
ΔE00 8.18
Dusty Blue
#5A86AD
ΔE00 8.38
Greyish Blue
#5E819D
ΔE00 8.74
Off Blue
#5684AE
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338FB0 #B05433
analogous
#33B093 #338FB0 #3351B0
triadic
#338FB0 #B0338F #8FB033
tetradic
#338FB0 #9333B0 #B05433 #51B033
square
#338FB0 #9333B0 #B05433 #51B033
split-complementary
#338FB0 #B03351 #B09333
monochromatic
#184251 #256881 #338FB0 #53ADCD #82C4DB
Accessibility & contrast
On white
3.69
#338FB0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#338FB0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338FB0
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338FB0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338FB0 | 1.00 | 3.69 | 5.70 | 5.70 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D8CB2
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #338fb0; /* rgb */ color: rgb(51, 143, 176); /* oklch */ color: oklch(61.0% 0.098 225.9);
Tailwind
colors: {
custom: {
50: '#7bafc7',
500: '#338fb0',
950: '#000000',
},
}SCSS
$custom: #338fb0; $custom-light: #7bafc7; $custom-dark: #000000;
JSON
{
"hex": "#338fb0",
"rgb": {
"r": 51,
"g": 143,
"b": 176
},
"hsl": {
"h": 195.84,
"s": 55.066,
"l": 44.51
},
"oklch": {
"l": 0.61028,
"c": 0.09802,
"h": 225.9
},
"luminance": 0.23483
}Semantic roles & 50–950 ramp
primary
#338FB0
secondary
#C48E7B
accent
#7149DE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82