#2B36AB#2B36AB
#2B36AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.184 H 271.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2B36AB |
|---|---|
| RGB | rgb(43, 54, 171) |
| HSL | hsl(235, 60%, 42%) |
| HSV | hsv(235, 75%, 67%) |
| CMYK | cmyk(74.9%, 68.4%, 0%, 32.9%) |
| CIE-LAB | lab(29.64, 36.64, -63.57) |
| CIE-LCH | lch(29.64, 73.37, 299.95°) |
| OKLab | oklab(40.84% 0.0035 -0.1839) |
| OKLCH | oklch(40.84% 0.184 271.1) |
| XYZ | xyz(9.6636, 6.0912, 39.1866) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.24
Blue Blue
#2242C7
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 5.46
Blueberry
#464196
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 6.56
Indigo Blue
#3A18B1
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B36AB #ABA02B
analogous
#2B76AB #2B36AB #602BAB
triadic
#2B36AB #AB2B36 #36AB2B
tetradic
#2B36AB #AB2B76 #ABA02B #2BAB60
square
#2B36AB #AB2B76 #ABA02B #2BAB60
split-complementary
#2B36AB #AB602B #76AB2B
monochromatic
#121749 #1F277A #2B36AB #434FD0 #747DDC
Accessibility & contrast
On white
9.47
#2B36AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2B36AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B36AB
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B36AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B36AB | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b36ab; /* rgb */ color: rgb(43, 54, 171); /* oklch */ color: oklch(40.8% 0.184 271.1);
Tailwind
colors: {
custom: {
50: '#796dc5',
500: '#2b36ab',
950: '#000000',
},
}SCSS
$custom: #2b36ab; $custom-light: #796dc5; $custom-dark: #000000;
JSON
{
"hex": "#2b36ab",
"rgb": {
"r": 43,
"g": 54,
"b": 171
},
"hsl": {
"h": 234.844,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.4084,
"c": 0.18394,
"h": 271.1
},
"luminance": 0.06092
}Semantic roles & 50–950 ramp
primary
#2B36AB
secondary
#C4BC6E
accent
#D545E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82