#338F9B#338F9B
#338F9B is a mid, moderate teal. Relative luminance 0.227; OKLCH L 60.1% C 0.086 H 207.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #338F9B |
|---|---|
| RGB | rgb(51, 143, 155) |
| HSL | hsl(187, 50%, 40%) |
| HSV | hsv(187, 67%, 61%) |
| CMYK | cmyk(67.1%, 7.7%, 0%, 39.2%) |
| CIE-LAB | lab(54.78, -22.80, -14.30) |
| CIE-LCH | lch(54.78, 26.91, 212.11°) |
| OKLab | oklab(60.13% -0.0768 -0.0397) |
| OKLCH | oklch(60.13% 0.086 207.3) |
| XYZ | xyz(17.1016, 22.7134, 34.4868) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal Blue
#01889F
ΔE00 4.71
Dark Cyan
#0A888A
ΔE00 5.96
Darkcyan
#008B8B
ΔE00 6.40
Cadetblue
#5F9EA0
ΔE00 7.23
Greenish Blue
#0B8B87
ΔE00 7.76
Sea
#3C9992
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338F9B #9B3F33
analogous
#339B73 #338F9B #335B9B
triadic
#338F9B #9B338F #8F9B33
tetradic
#338F9B #73339B #9B3F33 #5B9B33
square
#338F9B #73339B #9B3F33 #5B9B33
split-complementary
#338F9B #9B335B #9B7333
monochromatic
#153A3F #24656D #338F9B #48B5C3 #76C7D2
Accessibility & contrast
On white
3.79
#338F9B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#338F9B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338F9B
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338F9B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338F9B | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#838A9C
Deuteranopia (green-blind)
#747E9B
Tritanopia (blue-blind)
#009593
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #338f9b; /* rgb */ color: rgb(51, 143, 155); /* oklch */ color: oklch(60.1% 0.086 207.3);
Tailwind
colors: {
custom: {
50: '#78b0b8',
500: '#338f9b',
950: '#000000',
},
}SCSS
$custom: #338f9b; $custom-light: #78b0b8; $custom-dark: #000000;
JSON
{
"hex": "#338f9b",
"rgb": {
"r": 51,
"g": 143,
"b": 155
},
"hsl": {
"h": 186.923,
"s": 50.485,
"l": 40.392
},
"oklch": {
"l": 0.60133,
"c": 0.08642,
"h": 207.3
},
"luminance": 0.22715
}Semantic roles & 50–950 ramp
primary
#338F9B
secondary
#BA786F
accent
#5E4EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80