#338495#338495
#338495 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.1% C 0.081 H 214.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #338495 |
|---|---|
| RGB | rgb(51, 132, 149) |
| HSL | hsl(190, 49%, 39%) |
| HSV | hsv(190, 66%, 58%) |
| CMYK | cmyk(65.8%, 11.4%, 0%, 41.6%) |
| CIE-LAB | lab(51.12, -18.89, -16.37) |
| CIE-LCH | lch(51.12, 24.99, 220.92°) |
| OKLab | oklab(57.12% -0.0674 -0.0455) |
| OKLCH | oklch(57.12% 0.081 214) |
| XYZ | xyz(15.0391, 19.3746, 31.3750) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 2.74
Ocean
#017B92
ΔE00 4.39
Dirty Blue
#3F829D
ΔE00 5.06
Deep Aqua
#08787F
ΔE00 7.37
Dark Cyan
#0A888A
ΔE00 7.73
Sea Blue
#047495
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338495 #954433
analogous
#339575 #338495 #335395
triadic
#338495 #953384 #849533
tetradic
#338495 #753395 #954433 #539533
square
#338495 #753395 #954433 #539533
split-complementary
#338495 #953353 #957533
monochromatic
#14333A #235C67 #338495 #46AAC0 #73BFCF
Accessibility & contrast
On white
4.31
#338495 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#338495 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338495
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338495 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338495 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788096
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#008B89
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #338495; /* rgb */ color: rgb(51, 132, 149); /* oklch */ color: oklch(57.1% 0.081 214.0);
Tailwind
colors: {
custom: {
50: '#77a8b4',
500: '#338495',
950: '#000000',
},
}SCSS
$custom: #338495; $custom-light: #77a8b4; $custom-dark: #000000;
JSON
{
"hex": "#338495",
"rgb": {
"r": 51,
"g": 132,
"b": 149
},
"hsl": {
"h": 190.408,
"s": 49,
"l": 39.216
},
"oklch": {
"l": 0.57121,
"c": 0.0813,
"h": 214
},
"luminance": 0.19376
}Semantic roles & 50–950 ramp
primary
#338495
secondary
#B7796C
accent
#674FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80