#338FB9#338FB9
#338FB9 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.4% C 0.106 H 232.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #338FB9 |
|---|---|
| RGB | rgb(51, 143, 185) |
| HSL | hsl(199, 57%, 46%) |
| HSV | hsv(199, 72%, 73%) |
| CMYK | cmyk(72.4%, 22.7%, 0%, 27.5%) |
| CIE-LAB | lab(55.94, -12.97, -29.70) |
| CIE-LCH | lch(55.94, 32.40, 246.41°) |
| OKLab | oklab(61.45% -0.0649 -0.0835) |
| OKLCH | oklch(61.45% 0.106 232.1) |
| XYZ | xyz(19.9412, 23.8492, 49.4419) |
| Luminance | 0.2385 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 6.04
Water Blue
#0E87CC
ΔE00 6.25
Steel Blue
#4682B4
ΔE00 6.82
Dusty Blue
#5A86AD
ΔE00 6.86
Cool Blue
#4984B8
ΔE00 6.86
Off Blue
#5684AE
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338FB9 #B95D33
analogous
#33B9A0 #338FB9 #334CB9
triadic
#338FB9 #B9338F #8FB933
tetradic
#338FB9 #A033B9 #B95D33 #4CB933
square
#338FB9 #A033B9 #B95D33 #4CB933
split-complementary
#338FB9 #B9334C #B9A033
monochromatic
#194559 #266A89 #338FB9 #58ABD1 #88C3DE
Accessibility & contrast
On white
3.64
#338FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#338FB9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338FB9
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338FB9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338FB9 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8DBB
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #338fb9; /* rgb */ color: rgb(51, 143, 185); /* oklch */ color: oklch(61.4% 0.106 232.1);
Tailwind
colors: {
custom: {
50: '#7cafce',
500: '#338fb9',
950: '#000000',
},
}SCSS
$custom: #338fb9; $custom-light: #7cafce; $custom-dark: #000000;
JSON
{
"hex": "#338fb9",
"rgb": {
"r": 51,
"g": 143,
"b": 185
},
"hsl": {
"h": 198.806,
"s": 56.78,
"l": 46.275
},
"oklch": {
"l": 0.61448,
"c": 0.10572,
"h": 232.1
},
"luminance": 0.23852
}Semantic roles & 50–950 ramp
primary
#338FB9
secondary
#C89680
accent
#7748E0
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82