#336ABA#336ABA
#336ABA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.9% C 0.139 H 258.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #336ABA |
|---|---|
| RGB | rgb(51, 106, 186) |
| HSL | hsl(216, 57%, 46%) |
| HSV | hsv(216, 73%, 73%) |
| CMYK | cmyk(72.6%, 43%, 0%, 27.1%) |
| CIE-LAB | lab(45.02, 9.44, -47.48) |
| CIE-LCH | lch(45.02, 48.41, 281.25°) |
| OKLab | oklab(52.87% -0.0289 -0.1358) |
| OKLCH | oklch(52.87% 0.139 258) |
| XYZ | xyz(15.3790, 14.5554, 48.4438) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mid Blue
#276AB3
ΔE00 2.08
French Blue
#436BAD
ΔE00 2.15
Medium Blue
#2C6FBB
ΔE00 2.38
Denim
#1560BD
ΔE00 3.53
Flat Blue
#3C73A8
ΔE00 4.16
Muted Blue
#3B719F
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336ABA #BA8333
analogous
#33AEBA #336ABA #4033BA
triadic
#336ABA #BA336A #6ABA33
tetradic
#336ABA #BA33AE #BA8333 #33BA40
square
#336ABA #BA33AE #BA8333 #33BA40
split-complementary
#336ABA #BA4033 #AEBA33
monochromatic
#19335A #264F8A #336ABA #598AD1 #89ACDF
Accessibility & contrast
On white
5.37
#336ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#336ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336ABA
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336ABA | 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)
#4371BD
Deuteranopia (green-blind)
#2B65B8
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336aba; /* rgb */ color: rgb(51, 106, 186); /* oklch */ color: oklch(52.9% 0.139 258.0);
Tailwind
colors: {
custom: {
50: '#7c94cf',
500: '#336aba',
950: '#000000',
},
}SCSS
$custom: #336aba; $custom-light: #7c94cf; $custom-dark: #000000;
JSON
{
"hex": "#336aba",
"rgb": {
"r": 51,
"g": 106,
"b": 186
},
"hsl": {
"h": 215.556,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52873,
"c": 0.1388,
"h": 258
},
"luminance": 0.14557
}Semantic roles & 50–950 ramp
primary
#336ABA
secondary
#C9AB80
accent
#A248E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82