#338699#338699
#338699 is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.8% C 0.084 H 215.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #338699 |
|---|---|
| RGB | rgb(51, 134, 153) |
| HSL | hsl(191, 50%, 40%) |
| HSV | hsv(191, 67%, 60%) |
| CMYK | cmyk(66.7%, 12.4%, 0%, 40%) |
| CIE-LAB | lab(51.90, -18.68, -17.52) |
| CIE-LCH | lch(51.90, 25.61, 223.17°) |
| OKLab | oklab(57.79% -0.0679 -0.0487) |
| OKLCH | oklch(57.79% 0.084 215.7) |
| XYZ | xyz(15.6377, 20.0522, 33.1771) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 2.26
Dirty Blue
#3F829D
ΔE00 4.54
Ocean
#017B92
ΔE00 4.86
Dark Cyan
#0A888A
ΔE00 8.34
Deep Aqua
#08787F
ΔE00 8.37
Sea Blue
#047495
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338699 #994633
analogous
#339979 #338699 #335399
triadic
#338699 #993386 #869933
tetradic
#338699 #793399 #994633 #539933
square
#338699 #793399 #994633 #539933
split-complementary
#338699 #993353 #997933
monochromatic
#14363D #245E6B #338699 #47ABC2 #75C0D1
Accessibility & contrast
On white
4.19
#338699 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#338699 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338699
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338699 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338699 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79829A
Deuteranopia (green-blind)
#6A7799
Tritanopia (blue-blind)
#008D8C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #338699; /* rgb */ color: rgb(51, 134, 153); /* oklch */ color: oklch(57.8% 0.084 215.7);
Tailwind
colors: {
custom: {
50: '#77a9b7',
500: '#338699',
950: '#000000',
},
}SCSS
$custom: #338699; $custom-light: #77a9b7; $custom-dark: #000000;
JSON
{
"hex": "#338699",
"rgb": {
"r": 51,
"g": 134,
"b": 153
},
"hsl": {
"h": 191.176,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.57792,
"c": 0.08357,
"h": 215.7
},
"luminance": 0.20054
}Semantic roles & 50–950 ramp
primary
#338699
secondary
#B97C6E
accent
#684EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80