#336AB9#336AB9
#336AB9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 52.8% C 0.137 H 257.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #336AB9 |
|---|---|
| RGB | rgb(51, 106, 185) |
| HSL | hsl(215, 57%, 46%) |
| HSV | hsv(215, 72%, 73%) |
| CMYK | cmyk(72.4%, 42.7%, 0%, 27.5%) |
| CIE-LAB | lab(44.96, 9.07, -46.99) |
| CIE-LCH | lch(44.96, 47.86, 280.93°) |
| OKLab | oklab(52.81% -0.0291 -0.1343) |
| OKLCH | oklch(52.81% 0.137 257.8) |
| XYZ | xyz(15.2730, 14.5130, 47.8859) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.97
French Blue
#436BAD
ΔE00 2.13
Medium Blue
#2C6FBB
ΔE00 2.34
Denim
#1560BD
ΔE00 3.52
Flat Blue
#3C73A8
ΔE00 4.10
Muted Blue
#3B719F
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336AB9 #B98233
analogous
#33ADB9 #336AB9 #3F33B9
triadic
#336AB9 #B9336A #6AB933
tetradic
#336AB9 #B933AD #B98233 #33B93F
square
#336AB9 #B933AD #B98233 #33B93F
split-complementary
#336AB9 #B93F33 #ADB933
monochromatic
#193359 #264F89 #336AB9 #588AD1 #88ABDE
Accessibility & contrast
On white
5.38
#336AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#336AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336AB9
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336AB9 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4471BC
Deuteranopia (green-blind)
#2C65B7
Tritanopia (blue-blind)
#007C88
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336ab9; /* rgb */ color: rgb(51, 106, 185); /* oklch */ color: oklch(52.8% 0.137 257.8);
Tailwind
colors: {
custom: {
50: '#7c94ce',
500: '#336ab9',
950: '#000000',
},
}SCSS
$custom: #336ab9; $custom-light: #7c94ce; $custom-dark: #000000;
JSON
{
"hex": "#336ab9",
"rgb": {
"r": 51,
"g": 106,
"b": 185
},
"hsl": {
"h": 215.373,
"s": 56.78,
"l": 46.275
},
"oklch": {
"l": 0.52808,
"c": 0.13744,
"h": 257.8
},
"luminance": 0.14515
}Semantic roles & 50–950 ramp
primary
#336AB9
secondary
#C8AA80
accent
#A248E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82