#336ABF#336ABF
#336ABF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.146 H 258.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #336ABF |
|---|---|
| RGB | rgb(51, 106, 191) |
| HSL | hsl(216, 58%, 47%) |
| HSV | hsv(216, 73%, 75%) |
| CMYK | cmyk(73.3%, 44.5%, 0%, 25.1%) |
| CIE-LAB | lab(45.32, 11.31, -49.89) |
| CIE-LCH | lch(45.32, 51.16, 282.77°) |
| OKLab | oklab(53.2% -0.0279 -0.1429) |
| OKLCH | oklch(53.2% 0.146 258.9) |
| XYZ | xyz(15.9198, 14.7717, 51.2923) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.38
Mid Blue
#276AB3
ΔE00 2.62
Medium Blue
#2C6FBB
ΔE00 2.65
Denim
#1560BD
ΔE00 3.64
Flat Blue
#3C73A8
ΔE00 4.47
Muted Blue
#3B719F
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336ABF #BF8833
analogous
#33B0BF #336ABF #4233BF
triadic
#336ABF #BF336A #6ABF33
tetradic
#336ABF #BF33B0 #BF8833 #33BF42
square
#336ABF #BF33B0 #BF8833 #33BF42
split-complementary
#336ABF #BF4233 #B0BF33
monochromatic
#19345E #264F8F #336ABF #5C8BD3 #8CADE0
Accessibility & contrast
On white
5.31
#336ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#336ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336ABF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336ABF | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336abf; /* rgb */ color: rgb(51, 106, 191); /* oklch */ color: oklch(53.2% 0.146 258.9);
Tailwind
colors: {
custom: {
50: '#7d94d3',
500: '#336abf',
950: '#000000',
},
}SCSS
$custom: #336abf; $custom-light: #7d94d3; $custom-dark: #000000;
JSON
{
"hex": "#336abf",
"rgb": {
"r": 51,
"g": 106,
"b": 191
},
"hsl": {
"h": 216.429,
"s": 57.851,
"l": 47.451
},
"oklch": {
"l": 0.53203,
"c": 0.14556,
"h": 258.9
},
"luminance": 0.14773
}Semantic roles & 50–950 ramp
primary
#336ABF
secondary
#CBAF83
accent
#A447E1
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83