#336BB5#336BB5
#336BB5 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.131 H 256.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #336BB5 |
|---|---|
| RGB | rgb(51, 107, 181) |
| HSL | hsl(214, 56%, 45%) |
| HSV | hsv(214, 72%, 71%) |
| CMYK | cmyk(71.8%, 40.9%, 0%, 29%) |
| CIE-LAB | lab(45.02, 6.96, -44.57) |
| CIE-LCH | lch(45.02, 45.11, 278.87°) |
| OKLab | oklab(52.78% -0.0309 -0.1272) |
| OKLCH | oklch(52.78% 0.131 256.4) |
| XYZ | xyz(14.9604, 14.5538, 45.7278) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.45
Medium Blue
#2C6FBB
ΔE00 1.87
French Blue
#436BAD
ΔE00 2.22
Flat Blue
#3C73A8
ΔE00 3.53
Denim
#1560BD
ΔE00 3.85
Muted Blue
#3B719F
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336BB5 #B57D33
analogous
#33ACB5 #336BB5 #3C33B5
triadic
#336BB5 #B5336B #6BB533
tetradic
#336BB5 #B533AC #B57D33 #33B53C
square
#336BB5 #B533AC #B57D33 #33B53C
split-complementary
#336BB5 #B53C33 #ACB533
monochromatic
#183356 #264F85 #336BB5 #568ACF #86ABDD
Accessibility & contrast
On white
5.37
#336BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#336BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336BB5
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336BB5 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336bb5; /* rgb */ color: rgb(51, 107, 181); /* oklch */ color: oklch(52.8% 0.131 256.4);
Tailwind
colors: {
custom: {
50: '#7b94cb',
500: '#336bb5',
950: '#000000',
},
}SCSS
$custom: #336bb5; $custom-light: #7b94cb; $custom-dark: #000000;
JSON
{
"hex": "#336bb5",
"rgb": {
"r": 51,
"g": 107,
"b": 181
},
"hsl": {
"h": 214.154,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.52777,
"c": 0.1309,
"h": 256.4
},
"luminance": 0.14555
}Semantic roles & 50–950 ramp
primary
#336BB5
secondary
#C6A77D
accent
#9E48DF
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82