#338E9F#338E9F
#338E9F is a mid, moderate teal. Relative luminance 0.226; OKLCH L 60.0% C 0.088 H 212.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #338E9F |
|---|---|
| RGB | rgb(51, 142, 159) |
| HSL | hsl(189, 51%, 41%) |
| HSV | hsv(189, 68%, 62%) |
| CMYK | cmyk(67.9%, 10.7%, 0%, 37.6%) |
| CIE-LAB | lab(54.61, -21.01, -16.86) |
| CIE-LCH | lch(54.61, 26.94, 218.74°) |
| OKLab | oklab(60.04% -0.074 -0.0469) |
| OKLCH | oklch(60.04% 0.088 212.3) |
| XYZ | xyz(17.2936, 22.5511, 36.2356) |
| Luminance | 0.2255 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal Blue
#01889F
ΔE00 3.31
Dirty Blue
#3F829D
ΔE00 6.82
Ocean
#017B92
ΔE00 7.63
Dark Cyan
#0A888A
ΔE00 7.65
Darkcyan
#008B8B
ΔE00 8.26
Cadetblue
#5F9EA0
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338E9F #9F4433
analogous
#339F7A #338E9F #33589F
triadic
#338E9F #9F338E #8E9F33
tetradic
#338E9F #7A339F #9F4433 #589F33
square
#338E9F #7A339F #9F4433 #589F33
split-complementary
#338E9F #9F3358 #9F7A33
monochromatic
#153B42 #246571 #338E9F #4AB2C5 #79C5D4
Accessibility & contrast
On white
3.81
#338E9F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#338E9F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338E9F
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338E9F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338E9F | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8189A0
Deuteranopia (green-blind)
#717E9F
Tritanopia (blue-blind)
#009593
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #338e9f; /* rgb */ color: rgb(51, 142, 159); /* oklch */ color: oklch(60.0% 0.088 212.3);
Tailwind
colors: {
custom: {
50: '#79afbb',
500: '#338e9f',
950: '#000000',
},
}SCSS
$custom: #338e9f; $custom-light: #79afbb; $custom-dark: #000000;
JSON
{
"hex": "#338e9f",
"rgb": {
"r": 51,
"g": 142,
"b": 159
},
"hsl": {
"h": 189.444,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.60044,
"c": 0.08759,
"h": 212.3
},
"luminance": 0.22553
}Semantic roles & 50–950 ramp
primary
#338E9F
secondary
#BC7D71
accent
#634DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80