#338B9E#338B9E
#338B9E is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.3% C 0.087 H 214.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #338B9E |
|---|---|
| RGB | rgb(51, 139, 158) |
| HSL | hsl(191, 51%, 41%) |
| HSV | hsv(191, 68%, 62%) |
| CMYK | cmyk(67.7%, 12%, 0%, 38%) |
| CIE-LAB | lab(53.64, -19.75, -17.76) |
| CIE-LCH | lch(53.64, 26.56, 221.97°) |
| OKLab | oklab(59.25% -0.0712 -0.0494) |
| OKLCH | oklch(59.25% 0.087 214.8) |
| XYZ | xyz(16.7668, 21.6358, 35.6336) |
| Luminance | 0.2164 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 2.45
Dirty Blue
#3F829D
ΔE00 5.51
Ocean
#017B92
ΔE00 6.50
Dark Cyan
#0A888A
ΔE00 8.25
Darkcyan
#008B8B
ΔE00 9.02
Cadetblue
#5F9EA0
ΔE00 9.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338B9E #9E4633
analogous
#339E7B #338B9E #33559E
triadic
#338B9E #9E338B #8B9E33
tetradic
#338B9E #7B339E #9E4633 #559E33
square
#338B9E #7B339E #9E4633 #559E33
split-complementary
#338B9E #9E3355 #9E7B33
monochromatic
#153A41 #246270 #338B9E #4AAFC4 #78C3D3
Accessibility & contrast
On white
3.94
#338B9E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#338B9E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338B9E
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338B9E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338B9E | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D879F
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#009291
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #338b9e; /* rgb */ color: rgb(51, 139, 158); /* oklch */ color: oklch(59.3% 0.087 214.8);
Tailwind
colors: {
custom: {
50: '#78adba',
500: '#338b9e',
950: '#000000',
},
}SCSS
$custom: #338b9e; $custom-light: #78adba; $custom-dark: #000000;
JSON
{
"hex": "#338b9e",
"rgb": {
"r": 51,
"g": 139,
"b": 158
},
"hsl": {
"h": 190.654,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.59253,
"c": 0.08667,
"h": 214.8
},
"luminance": 0.21638
}Semantic roles & 50–950 ramp
primary
#338B9E
secondary
#BC7E71
accent
#664DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80