#338497#338497
#338497 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.2% C 0.082 H 216.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #338497 |
|---|---|
| RGB | rgb(51, 132, 151) |
| HSL | hsl(191, 50%, 40%) |
| HSV | hsv(191, 66%, 59%) |
| CMYK | cmyk(66.2%, 12.6%, 0%, 40.8%) |
| CIE-LAB | lab(51.20, -18.24, -17.42) |
| CIE-LCH | lch(51.20, 25.23, 223.68°) |
| OKLab | oklab(57.21% -0.0665 -0.0485) |
| OKLCH | oklch(57.21% 0.082 216.1) |
| XYZ | xyz(15.2001, 19.4391, 32.2232) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 2.57
Ocean
#017B92
ΔE00 4.24
Dirty Blue
#3F829D
ΔE00 4.29
Sea Blue
#047495
ΔE00 7.81
Deep Aqua
#08787F
ΔE00 7.98
Dark Cyan
#0A888A
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338497 #974633
analogous
#339778 #338497 #335297
triadic
#338497 #973384 #849733
tetradic
#338497 #783397 #974633 #529733
square
#338497 #783397 #974633 #529733
split-complementary
#338497 #973352 #977833
monochromatic
#14343C #245C69 #338497 #47A9C1 #74BFD0
Accessibility & contrast
On white
4.30
#338497 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#338497 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338497
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338497 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338497 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#778098
Deuteranopia (green-blind)
#697597
Tritanopia (blue-blind)
#008B8A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #338497; /* rgb */ color: rgb(51, 132, 151); /* oklch */ color: oklch(57.2% 0.082 216.1);
Tailwind
colors: {
custom: {
50: '#77a8b5',
500: '#338497',
950: '#000000',
},
}SCSS
$custom: #338497; $custom-light: #77a8b5; $custom-dark: #000000;
JSON
{
"hex": "#338497",
"rgb": {
"r": 51,
"g": 132,
"b": 151
},
"hsl": {
"h": 191.4,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.57206,
"c": 0.08233,
"h": 216.1
},
"luminance": 0.19441
}Semantic roles & 50–950 ramp
primary
#338497
secondary
#B87C6D
accent
#694FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80