#336FB6#336FB6
#336FB6 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.128 H 254.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #336FB6 |
|---|---|
| RGB | rgb(51, 111, 182) |
| HSL | hsl(213, 56%, 46%) |
| HSV | hsv(213, 72%, 71%) |
| CMYK | cmyk(72%, 39%, 0%, 28.6%) |
| CIE-LAB | lab(46.24, 4.83, -43.20) |
| CIE-LCH | lch(46.24, 43.47, 276.37°) |
| OKLab | oklab(53.75% -0.0344 -0.1231) |
| OKLCH | oklch(53.75% 0.128 254.4) |
| XYZ | xyz(15.4901, 15.4484, 46.4124) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.64
Mid Blue
#276AB3
ΔE00 1.95
Flat Blue
#3C73A8
ΔE00 2.35
French Blue
#436BAD
ΔE00 3.15
Bluish
#2976BB
ΔE00 3.22
Muted Blue
#3B719F
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336FB6 #B67A33
analogous
#33B0B6 #336FB6 #3833B6
triadic
#336FB6 #B6336F #6FB633
tetradic
#336FB6 #B633B0 #B67A33 #33B638
square
#336FB6 #B633B0 #B67A33 #33B638
split-complementary
#336FB6 #B63833 #B0B633
monochromatic
#183556 #265286 #336FB6 #568ED0 #86AEDD
Accessibility & contrast
On white
5.13
#336FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#336FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336FB6
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336FB6 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#3A68B5
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #336fb6; /* rgb */ color: rgb(51, 111, 182); /* oklch */ color: oklch(53.7% 0.128 254.4);
Tailwind
colors: {
custom: {
50: '#7b97cc',
500: '#336fb6',
950: '#000000',
},
}SCSS
$custom: #336fb6; $custom-light: #7b97cc; $custom-dark: #000000;
JSON
{
"hex": "#336fb6",
"rgb": {
"r": 51,
"g": 111,
"b": 182
},
"hsl": {
"h": 212.519,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.53749,
"c": 0.12785,
"h": 254.4
},
"luminance": 0.1545
}Semantic roles & 50–950 ramp
primary
#336FB6
secondary
#C7A57E
accent
#9A48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82