#336FB4#336FB4
#336FB4 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.125 H 253.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #336FB4 |
|---|---|
| RGB | rgb(51, 111, 180) |
| HSL | hsl(212, 56%, 45%) |
| HSV | hsv(212, 72%, 71%) |
| CMYK | cmyk(71.7%, 38.3%, 0%, 29.4%) |
| CIE-LAB | lab(46.13, 4.09, -42.22) |
| CIE-LCH | lch(46.13, 42.41, 275.54°) |
| OKLab | oklab(53.63% -0.0349 -0.1202) |
| OKLCH | oklch(53.63% 0.125 253.8) |
| XYZ | xyz(15.2849, 15.3663, 45.3316) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.74
Mid Blue
#276AB3
ΔE00 1.87
Flat Blue
#3C73A8
ΔE00 2.18
Muted Blue
#3B719F
ΔE00 3.11
Bluish
#2976BB
ΔE00 3.15
French Blue
#436BAD
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336FB4 #B47833
analogous
#33AFB4 #336FB4 #3733B4
triadic
#336FB4 #B4336F #6FB433
tetradic
#336FB4 #B433AF #B47833 #33B437
square
#336FB4 #B433AF #B47833 #33B437
split-complementary
#336FB4 #B43733 #AFB433
monochromatic
#183455 #255284 #336FB4 #558ECF #85AEDC
Accessibility & contrast
On white
5.16
#336FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#336FB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336FB4
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336FB4 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#3C68B3
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #336fb4; /* rgb */ color: rgb(51, 111, 180); /* oklch */ color: oklch(53.6% 0.125 253.8);
Tailwind
colors: {
custom: {
50: '#7b97cb',
500: '#336fb4',
950: '#000000',
},
}SCSS
$custom: #336fb4; $custom-light: #7b97cb; $custom-dark: #000000;
JSON
{
"hex": "#336fb4",
"rgb": {
"r": 51,
"g": 111,
"b": 180
},
"hsl": {
"h": 212.093,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.53627,
"c": 0.12521,
"h": 253.8
},
"luminance": 0.15368
}Semantic roles & 50–950 ramp
primary
#336FB4
secondary
#C6A47D
accent
#9949DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82