#336199#336199
#336199 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.7% C 0.104 H 254.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #336199 |
|---|---|
| RGB | rgb(51, 97, 153) |
| HSL | hsl(213, 50%, 40%) |
| HSV | hsv(213, 67%, 60%) |
| CMYK | cmyk(66.7%, 36.6%, 0%, 40%) |
| CIE-LAB | lab(40.49, 2.98, -35.23) |
| CIE-LCH | lch(40.49, 35.36, 274.83°) |
| OKLab | oklab(48.75% -0.0277 -0.1) |
| OKLCH | oklch(48.75% 0.104 254.5) |
| XYZ | xyz(11.3876, 11.5520, 31.7604) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim (survey)
#3B638C
ΔE00 2.28
Light Navy Blue
#2E5A88
ΔE00 3.09
Denim Blue
#3B5B92
ΔE00 3.20
Denim
#1560BD
ΔE00 3.86
Mid Blue
#276AB3
ΔE00 4.30
Dusky Blue
#475F94
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336199 #996B33
analogous
#339499 #336199 #383399
triadic
#336199 #993361 #619933
tetradic
#336199 #993394 #996B33 #339938
square
#336199 #993394 #996B33 #339938
split-complementary
#336199 #993833 #949933
monochromatic
#14273D #24446B #336199 #477FC2 #759FD1
Accessibility & contrast
On white
6.34
#336199 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#336199 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336199
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336199 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48659B
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#006E76
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #336199; /* rgb */ color: rgb(51, 97, 153); /* oklch */ color: oklch(48.7% 0.104 254.5);
Tailwind
colors: {
custom: {
50: '#768db7',
500: '#336199',
950: '#000000',
},
}SCSS
$custom: #336199; $custom-light: #768db7; $custom-dark: #000000;
JSON
{
"hex": "#336199",
"rgb": {
"r": 51,
"g": 97,
"b": 153
},
"hsl": {
"h": 212.941,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.48747,
"c": 0.10376,
"h": 254.5
},
"luminance": 0.11553
}Semantic roles & 50–950 ramp
primary
#336199
secondary
#B9986E
accent
#9B4EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80