#336BB1#336BB1
#336BB1 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.126 H 255.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #336BB1 |
|---|---|
| RGB | rgb(51, 107, 177) |
| HSL | hsl(213, 55%, 45%) |
| HSV | hsv(213, 71%, 69%) |
| CMYK | cmyk(71.2%, 39.5%, 0%, 30.6%) |
| CIE-LAB | lab(44.79, 5.48, -42.60) |
| CIE-LCH | lch(44.79, 42.95, 277.33°) |
| OKLab | oklab(52.53% -0.0318 -0.1214) |
| OKLCH | oklch(52.53% 0.126 255.3) |
| XYZ | xyz(14.5558, 14.3920, 43.5973) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.14
Medium Blue
#2C6FBB
ΔE00 1.91
French Blue
#436BAD
ΔE00 2.35
Flat Blue
#3C73A8
ΔE00 3.31
Muted Blue
#3B719F
ΔE00 3.73
Denim
#1560BD
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336BB1 #B17933
analogous
#33AAB1 #336BB1 #3A33B1
triadic
#336BB1 #B1336B #6BB133
tetradic
#336BB1 #B133AA #B17933 #33B13A
square
#336BB1 #B133AA #B17933 #33B13A
split-complementary
#336BB1 #B13A33 #AAB133
monochromatic
#183252 #254E81 #336BB1 #548ACE #83AADB
Accessibility & contrast
On white
5.41
#336BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#336BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336BB1
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336BB1 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B70B4
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336bb1; /* rgb */ color: rgb(51, 107, 177); /* oklch */ color: oklch(52.5% 0.126 255.3);
Tailwind
colors: {
custom: {
50: '#7a94c9',
500: '#336bb1',
950: '#000000',
},
}SCSS
$custom: #336bb1; $custom-light: #7a94c9; $custom-dark: #000000;
JSON
{
"hex": "#336bb1",
"rgb": {
"r": 51,
"g": 107,
"b": 177
},
"hsl": {
"h": 213.333,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.52527,
"c": 0.12551,
"h": 255.3
},
"luminance": 0.14394
}Semantic roles & 50–950 ramp
primary
#336BB1
secondary
#C5A47B
accent
#9C49DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82