#336AB2#336AB2
#336AB2 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.4% C 0.128 H 256.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #336AB2 |
|---|---|
| RGB | rgb(51, 106, 178) |
| HSL | hsl(214, 55%, 45%) |
| HSV | hsv(214, 71%, 70%) |
| CMYK | cmyk(71.3%, 40.4%, 0%, 30.2%) |
| CIE-LAB | lab(44.55, 6.48, -43.56) |
| CIE-LCH | lch(44.55, 44.04, 278.46°) |
| OKLab | oklab(52.36% -0.0306 -0.1243) |
| OKLCH | oklch(52.36% 0.128 256.2) |
| XYZ | xyz(14.5522, 14.2247, 44.0896) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.34
French Blue
#436BAD
ΔE00 2.18
Medium Blue
#2C6FBB
ΔE00 2.24
Denim
#1560BD
ΔE00 3.59
Flat Blue
#3C73A8
ΔE00 3.72
Muted Blue
#3B719F
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336AB2 #B27B33
analogous
#33AAB2 #336AB2 #3C33B2
triadic
#336AB2 #B2336A #6AB233
tetradic
#336AB2 #B233AA #B27B33 #33B23C
square
#336AB2 #B233AA #B27B33 #33B23C
split-complementary
#336AB2 #B23C33 #AAB233
monochromatic
#183153 #254E82 #336AB2 #5489CE #84AADC
Accessibility & contrast
On white
5.46
#336AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#336AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336AB2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336AB2 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #336ab2; /* rgb */ color: rgb(51, 106, 178); /* oklch */ color: oklch(52.4% 0.128 256.2);
Tailwind
colors: {
custom: {
50: '#7a94c9',
500: '#336ab2',
950: '#000000',
},
}SCSS
$custom: #336ab2; $custom-light: #7a94c9; $custom-dark: #000000;
JSON
{
"hex": "#336ab2",
"rgb": {
"r": 51,
"g": 106,
"b": 178
},
"hsl": {
"h": 214.016,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.52361,
"c": 0.12797,
"h": 256.2
},
"luminance": 0.14226
}Semantic roles & 50–950 ramp
primary
#336AB2
secondary
#C5A57C
accent
#9E49DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82