#336CA8#336CA8
#336CA8 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.2% C 0.112 H 251.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #336CA8 |
|---|---|
| RGB | rgb(51, 108, 168) |
| HSL | hsl(211, 53%, 43%) |
| HSV | hsv(211, 70%, 66%) |
| CMYK | cmyk(69.6%, 35.7%, 0%, 34.1%) |
| CIE-LAB | lab(44.60, 1.56, -37.64) |
| CIE-LCH | lch(44.60, 37.67, 272.38°) |
| OKLab | oklab(52.22% -0.0351 -0.1069) |
| OKLCH | oklch(52.22% 0.112 251.8) |
| XYZ | xyz(13.7931, 14.2546, 39.0627) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.39
Medium Blue
#2C6FBB
ΔE00 2.26
Flat Blue
#3C73A8
ΔE00 2.61
Muted Blue
#3B719F
ΔE00 2.65
French Blue
#436BAD
ΔE00 3.23
Bluish
#2976BB
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336CA8 #A86F33
analogous
#33A7A8 #336CA8 #3433A8
triadic
#336CA8 #A8336C #6CA833
tetradic
#336CA8 #A833A7 #A86F33 #33A834
square
#336CA8 #A833A7 #A86F33 #33A834
split-complementary
#336CA8 #A83433 #A7A833
monochromatic
#16304A #254E79 #336CA8 #4F8BC9 #7EAAD8
Accessibility & contrast
On white
5.45
#336CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#336CA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336CA8
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336CA8 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5170AA
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #336ca8; /* rgb */ color: rgb(51, 108, 168); /* oklch */ color: oklch(52.2% 0.112 251.8);
Tailwind
colors: {
custom: {
50: '#7895c2',
500: '#336ca8',
950: '#000000',
},
}SCSS
$custom: #336ca8; $custom-light: #7895c2; $custom-dark: #000000;
JSON
{
"hex": "#336ca8",
"rgb": {
"r": 51,
"g": 108,
"b": 168
},
"hsl": {
"h": 210.769,
"s": 53.425,
"l": 42.941
},
"oklch": {
"l": 0.52215,
"c": 0.11248,
"h": 251.8
},
"luminance": 0.14256
}Semantic roles & 50–950 ramp
primary
#336CA8
secondary
#C19C76
accent
#964BDD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81