#336FB5#336FB5
#336FB5 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.127 H 254.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #336FB5 |
|---|---|
| RGB | rgb(51, 111, 181) |
| HSL | hsl(212, 56%, 45%) |
| HSV | hsv(212, 72%, 71%) |
| CMYK | cmyk(71.8%, 38.7%, 0%, 29%) |
| CIE-LAB | lab(46.19, 4.46, -42.71) |
| CIE-LCH | lch(46.19, 42.94, 275.96°) |
| OKLab | oklab(53.69% -0.0347 -0.1217) |
| OKLCH | oklch(53.69% 0.127 254.1) |
| XYZ | xyz(15.3871, 15.4072, 45.8701) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.68
Mid Blue
#276AB3
ΔE00 1.91
Flat Blue
#3C73A8
ΔE00 2.27
French Blue
#436BAD
ΔE00 3.17
Bluish
#2976BB
ΔE00 3.18
Muted Blue
#3B719F
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336FB5 #B57933
analogous
#33B0B5 #336FB5 #3833B5
triadic
#336FB5 #B5336F #6FB533
tetradic
#336FB5 #B533B0 #B57933 #33B538
square
#336FB5 #B533B0 #B57933 #33B538
split-complementary
#336FB5 #B53833 #B0B533
monochromatic
#183456 #265285 #336FB5 #568ECF #86AEDD
Accessibility & contrast
On white
5.14
#336FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#336FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336FB5
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336FB5 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #336fb5; /* rgb */ color: rgb(51, 111, 181); /* oklch */ color: oklch(53.7% 0.127 254.1);
Tailwind
colors: {
custom: {
50: '#7b97cb',
500: '#336fb5',
950: '#000000',
},
}SCSS
$custom: #336fb5; $custom-light: #7b97cb; $custom-dark: #000000;
JSON
{
"hex": "#336fb5",
"rgb": {
"r": 51,
"g": 111,
"b": 181
},
"hsl": {
"h": 212.308,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.53688,
"c": 0.12652,
"h": 254.1
},
"luminance": 0.15409
}Semantic roles & 50–950 ramp
primary
#336FB5
secondary
#C6A57D
accent
#9A48DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82