#336EA6#336EA6
#336EA6 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.6% C 0.108 H 249.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #336EA6 |
|---|---|
| RGB | rgb(51, 110, 166) |
| HSL | hsl(209, 53%, 43%) |
| HSV | hsv(209, 69%, 65%) |
| CMYK | cmyk(69.3%, 33.7%, 0%, 34.9%) |
| CIE-LAB | lab(45.09, -0.40, -35.68) |
| CIE-LCH | lch(45.09, 35.68, 269.37°) |
| OKLab | oklab(52.57% -0.0377 -0.1011) |
| OKLCH | oklch(52.57% 0.108 249.6) |
| XYZ | xyz(13.8215, 14.6074, 38.1601) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.78
Flat Blue
#3C73A8
ΔE00 1.93
Mid Blue
#276AB3
ΔE00 2.15
Medium Blue
#2C6FBB
ΔE00 2.43
Bluish
#2976BB
ΔE00 3.61
Dull Blue
#49759C
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336EA6 #A66B33
analogous
#33A6A4 #336EA6 #3335A6
triadic
#336EA6 #A6336E #6EA633
tetradic
#336EA6 #A433A6 #A66B33 #35A633
square
#336EA6 #A433A6 #A66B33 #35A633
split-complementary
#336EA6 #A63335 #A6A433
monochromatic
#163048 #254F77 #336EA6 #4E8DC9 #7CABD7
Accessibility & contrast
On white
5.35
#336EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#336EA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336EA6
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336EA6 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5571A8
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336ea6; /* rgb */ color: rgb(51, 110, 166); /* oklch */ color: oklch(52.6% 0.108 249.6);
Tailwind
colors: {
custom: {
50: '#7897c0',
500: '#336ea6',
950: '#000000',
},
}SCSS
$custom: #336ea6; $custom-light: #7897c0; $custom-dark: #000000;
JSON
{
"hex": "#336ea6",
"rgb": {
"r": 51,
"g": 110,
"b": 166
},
"hsl": {
"h": 209.217,
"s": 52.995,
"l": 42.549
},
"oklch": {
"l": 0.5257,
"c": 0.10792,
"h": 249.6
},
"luminance": 0.14609
}Semantic roles & 50–950 ramp
primary
#336EA6
secondary
#C09975
accent
#924BDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81