#336EB1#336EB1
#336EB1 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.122 H 253.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #336EB1 |
|---|---|
| RGB | rgb(51, 110, 177) |
| HSL | hsl(212, 55%, 45%) |
| HSV | hsv(212, 71%, 69%) |
| CMYK | cmyk(71.2%, 37.9%, 0%, 30.6%) |
| CIE-LAB | lab(45.67, 3.61, -41.20) |
| CIE-LCH | lch(45.67, 41.36, 275.01°) |
| OKLab | oklab(53.22% -0.0347 -0.1173) |
| OKLCH | oklch(53.22% 0.122 253.5) |
| XYZ | xyz(14.8740, 15.0284, 43.7033) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.09
Mid Blue
#276AB3
ΔE00 1.52
Flat Blue
#3C73A8
ΔE00 2.27
Muted Blue
#3B719F
ΔE00 2.98
French Blue
#436BAD
ΔE00 3.05
Bluish
#2976BB
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336EB1 #B17633
analogous
#33ADB1 #336EB1 #3733B1
triadic
#336EB1 #B1336E #6EB133
tetradic
#336EB1 #B133AD #B17633 #33B137
square
#336EB1 #B133AD #B17633 #33B137
split-complementary
#336EB1 #B13733 #ADB133
monochromatic
#183352 #255081 #336EB1 #548DCE #83ACDB
Accessibility & contrast
On white
5.24
#336EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#336EB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336EB1
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336EB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336EB1 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F73B4
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #336eb1; /* rgb */ color: rgb(51, 110, 177); /* oklch */ color: oklch(53.2% 0.122 253.5);
Tailwind
colors: {
custom: {
50: '#7a97c8',
500: '#336eb1',
950: '#000000',
},
}SCSS
$custom: #336eb1; $custom-light: #7a97c8; $custom-dark: #000000;
JSON
{
"hex": "#336eb1",
"rgb": {
"r": 51,
"g": 110,
"b": 177
},
"hsl": {
"h": 211.905,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.53215,
"c": 0.12229,
"h": 253.5
},
"luminance": 0.1503
}Semantic roles & 50–950 ramp
primary
#336EB1
secondary
#C5A27B
accent
#9949DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82