#336FB7#336FB7
#336FB7 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.129 H 254.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #336FB7 |
|---|---|
| RGB | rgb(51, 111, 183) |
| HSL | hsl(213, 56%, 46%) |
| HSV | hsv(213, 72%, 72%) |
| CMYK | cmyk(72.1%, 39.3%, 0%, 28.2%) |
| CIE-LAB | lab(46.30, 5.19, -43.70) |
| CIE-LCH | lch(46.30, 44.00, 276.78°) |
| OKLab | oklab(53.81% -0.0342 -0.1246) |
| OKLCH | oklch(53.81% 0.129 254.7) |
| XYZ | xyz(15.5938, 15.4899, 46.9586) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.62
Mid Blue
#276AB3
ΔE00 2.01
Flat Blue
#3C73A8
ΔE00 2.44
French Blue
#436BAD
ΔE00 3.12
Bluish
#2976BB
ΔE00 3.26
Windows Blue
#3778BF
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336FB7 #B77B33
analogous
#33B1B7 #336FB7 #3933B7
triadic
#336FB7 #B7336F #6FB733
tetradic
#336FB7 #B733B1 #B77B33 #33B739
square
#336FB7 #B733B1 #B77B33 #33B739
split-complementary
#336FB7 #B73933 #B1B733
monochromatic
#183557 #265287 #336FB7 #578ED0 #87AEDE
Accessibility & contrast
On white
5.12
#336FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#336FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336FB7
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336FB7 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E74BA
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #336fb7; /* rgb */ color: rgb(51, 111, 183); /* oklch */ color: oklch(53.8% 0.129 254.7);
Tailwind
colors: {
custom: {
50: '#7b97cd',
500: '#336fb7',
950: '#000000',
},
}SCSS
$custom: #336fb7; $custom-light: #7b97cd; $custom-dark: #000000;
JSON
{
"hex": "#336fb7",
"rgb": {
"r": 51,
"g": 111,
"b": 183
},
"hsl": {
"h": 212.727,
"s": 56.41,
"l": 45.882
},
"oklch": {
"l": 0.53811,
"c": 0.12918,
"h": 254.7
},
"luminance": 0.15492
}Semantic roles & 50–950 ramp
primary
#336FB7
secondary
#C7A67F
accent
#9B48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82