#338FB1#338FB1
#338FB1 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.099 H 226.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #338FB1 |
|---|---|
| RGB | rgb(51, 143, 177) |
| HSL | hsl(196, 55%, 45%) |
| HSV | hsv(196, 71%, 69%) |
| CMYK | cmyk(71.2%, 19.2%, 0%, 30.6%) |
| CIE-LAB | lab(55.60, -15.67, -25.65) |
| CIE-LCH | lch(55.60, 30.06, 238.57°) |
| OKLab | oklab(61.07% -0.0678 -0.0718) |
| OKLCH | oklch(61.07% 0.099 226.6) |
| XYZ | xyz(19.1203, 23.5209, 45.1187) |
| Luminance | 0.2352 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.93
Teal Blue
#01889F
ΔE00 6.03
Cerulean
#007BA7
ΔE00 8.06
Dusty Blue
#5A86AD
ΔE00 8.17
Steel Blue
#4682B4
ΔE00 8.58
Off Blue
#5684AE
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338FB1 #B15533
analogous
#33B194 #338FB1 #3350B1
triadic
#338FB1 #B1338F #8FB133
tetradic
#338FB1 #9433B1 #B15533 #50B133
square
#338FB1 #9433B1 #B15533 #50B133
split-complementary
#338FB1 #B13350 #B19433
monochromatic
#184252 #256981 #338FB1 #54ADCE #83C4DB
Accessibility & contrast
On white
3.68
#338FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#338FB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338FB1
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338FB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338FB1 | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 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)
#7D8CB3
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #338fb1; /* rgb */ color: rgb(51, 143, 177); /* oklch */ color: oklch(61.1% 0.099 226.6);
Tailwind
colors: {
custom: {
50: '#7bafc8',
500: '#338fb1',
950: '#000000',
},
}SCSS
$custom: #338fb1; $custom-light: #7bafc8; $custom-dark: #000000;
JSON
{
"hex": "#338fb1",
"rgb": {
"r": 51,
"g": 143,
"b": 177
},
"hsl": {
"h": 196.19,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.61074,
"c": 0.09882,
"h": 226.6
},
"luminance": 0.23523
}Semantic roles & 50–950 ramp
primary
#338FB1
secondary
#C58F7B
accent
#7249DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82