#338E9A#338E9A
#338E9A is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.8% C 0.086 H 207.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #338E9A |
|---|---|
| RGB | rgb(51, 142, 154) |
| HSL | hsl(187, 50%, 40%) |
| HSV | hsv(187, 67%, 60%) |
| CMYK | cmyk(66.9%, 7.8%, 0%, 39.6%) |
| CIE-LAB | lab(54.43, -22.59, -14.25) |
| CIE-LCH | lch(54.43, 26.71, 212.25°) |
| OKLab | oklab(59.84% -0.0761 -0.0395) |
| OKLCH | oklch(59.84% 0.086 207.5) |
| XYZ | xyz(16.8685, 22.3810, 33.9966) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal Blue
#01889F
ΔE00 4.51
Dark Cyan
#0A888A
ΔE00 5.83
Darkcyan
#008B8B
ΔE00 6.34
Cadetblue
#5F9EA0
ΔE00 7.47
Greenish Blue
#0B8B87
ΔE00 7.71
Ocean
#017B92
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338E9A #9A3F33
analogous
#339A72 #338E9A #335B9A
triadic
#338E9A #9A338E #8E9A33
tetradic
#338E9A #72339A #9A3F33 #5B9A33
square
#338E9A #72339A #9A3F33 #5B9A33
split-complementary
#338E9A #9A335B #9A7233
monochromatic
#15393E #24646C #338E9A #48B4C2 #76C7D2
Accessibility & contrast
On white
3.83
#338E9A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#338E9A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338E9A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338E9A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338E9A | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82899B
Deuteranopia (green-blind)
#737D9A
Tritanopia (blue-blind)
#009492
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #338e9a; /* rgb */ color: rgb(51, 142, 154); /* oklch */ color: oklch(59.8% 0.086 207.5);
Tailwind
colors: {
custom: {
50: '#78afb7',
500: '#338e9a',
950: '#000000',
},
}SCSS
$custom: #338e9a; $custom-light: #78afb7; $custom-dark: #000000;
JSON
{
"hex": "#338e9a",
"rgb": {
"r": 51,
"g": 142,
"b": 154
},
"hsl": {
"h": 186.99,
"s": 50.244,
"l": 40.196
},
"oklch": {
"l": 0.59842,
"c": 0.08579,
"h": 207.5
},
"luminance": 0.22383
}Semantic roles & 50–950 ramp
primary
#338E9A
secondary
#BA786F
accent
#5E4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80