#338FB6#338FB6
#338FB6 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.103 H 230.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #338FB6 |
|---|---|
| RGB | rgb(51, 143, 182) |
| HSL | hsl(198, 56%, 46%) |
| HSV | hsv(198, 72%, 71%) |
| CMYK | cmyk(72%, 21.4%, 0%, 28.6%) |
| CIE-LAB | lab(55.81, -13.99, -28.18) |
| CIE-LCH | lch(55.81, 31.46, 243.60°) |
| OKLab | oklab(61.31% -0.066 -0.0791) |
| OKLCH | oklch(61.31% 0.103 230.2) |
| XYZ | xyz(19.6278, 23.7239, 47.7916) |
| Luminance | 0.2373 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.53
Water Blue
#0E87CC
ΔE00 7.16
Dusty Blue
#5A86AD
ΔE00 7.27
Steel Blue
#4682B4
ΔE00 7.40
Teal Blue
#01889F
ΔE00 7.48
Cool Blue
#4984B8
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338FB6 #B65A33
analogous
#33B69B #338FB6 #334DB6
triadic
#338FB6 #B6338F #8FB633
tetradic
#338FB6 #9B33B6 #B65A33 #4DB633
square
#338FB6 #9B33B6 #B65A33 #4DB633
split-complementary
#338FB6 #B6334D #B69B33
monochromatic
#184456 #266986 #338FB6 #56ACD0 #86C3DD
Accessibility & contrast
On white
3.66
#338FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#338FB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338FB6
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338FB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338FB6 | 1.00 | 3.66 | 5.75 | 5.75 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B8DB8
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #338fb6; /* rgb */ color: rgb(51, 143, 182); /* oklch */ color: oklch(61.3% 0.103 230.2);
Tailwind
colors: {
custom: {
50: '#7cafcc',
500: '#338fb6',
950: '#000000',
},
}SCSS
$custom: #338fb6; $custom-light: #7cafcc; $custom-dark: #000000;
JSON
{
"hex": "#338fb6",
"rgb": {
"r": 51,
"g": 143,
"b": 182
},
"hsl": {
"h": 197.863,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.61306,
"c": 0.10301,
"h": 230.2
},
"luminance": 0.23726
}Semantic roles & 50–950 ramp
primary
#338FB6
secondary
#C7947E
accent
#7548E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82