#336BB2#336BB2
#336BB2 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.127 H 255.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #336BB2 |
|---|---|
| RGB | rgb(51, 107, 178) |
| HSL | hsl(214, 55%, 45%) |
| HSV | hsv(214, 71%, 70%) |
| CMYK | cmyk(71.3%, 39.9%, 0%, 30.2%) |
| CIE-LAB | lab(44.85, 5.85, -43.10) |
| CIE-LCH | lch(44.85, 43.49, 277.73°) |
| OKLab | oklab(52.59% -0.0315 -0.1229) |
| OKLCH | oklch(52.59% 0.127 255.6) |
| XYZ | xyz(14.6559, 14.4320, 44.1241) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.21
Medium Blue
#2C6FBB
ΔE00 1.89
French Blue
#436BAD
ΔE00 2.31
Flat Blue
#3C73A8
ΔE00 3.37
Muted Blue
#3B719F
ΔE00 3.81
Denim
#1560BD
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336BB2 #B27A33
analogous
#33ABB2 #336BB2 #3A33B2
triadic
#336BB2 #B2336B #6BB233
tetradic
#336BB2 #B233AB #B27A33 #33B23A
square
#336BB2 #B233AB #B27A33 #33B23A
split-complementary
#336BB2 #B23A33 #ABB233
monochromatic
#183253 #254E82 #336BB2 #548ACE #84ABDC
Accessibility & contrast
On white
5.40
#336BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#336BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336BB2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336BB2 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#3665B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336bb2; /* rgb */ color: rgb(51, 107, 178); /* oklch */ color: oklch(52.6% 0.127 255.6);
Tailwind
colors: {
custom: {
50: '#7a94c9',
500: '#336bb2',
950: '#000000',
},
}SCSS
$custom: #336bb2; $custom-light: #7a94c9; $custom-dark: #000000;
JSON
{
"hex": "#336bb2",
"rgb": {
"r": 51,
"g": 107,
"b": 178
},
"hsl": {
"h": 213.543,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.52589,
"c": 0.12686,
"h": 255.6
},
"luminance": 0.14434
}Semantic roles & 50–950 ramp
primary
#336BB2
secondary
#C5A57C
accent
#9D49DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82