#2B36A7#2B36A7
#2B36A7 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.179 H 271.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2B36A7 |
|---|---|
| RGB | rgb(43, 54, 167) |
| HSL | hsl(235, 59%, 41%) |
| HSV | hsv(235, 74%, 65%) |
| CMYK | cmyk(74.3%, 67.7%, 0%, 34.5%) |
| CIE-LAB | lab(29.26, 35.20, -61.79) |
| CIE-LCH | lch(29.26, 71.11, 299.67°) |
| OKLab | oklab(40.45% 0.0039 -0.1787) |
| OKLCH | oklch(40.45% 0.179 271.2) |
| XYZ | xyz(9.2881, 5.9410, 37.2089) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.24
Blue Blue
#2242C7
ΔE00 5.33
Blueberry
#464196
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 6.63
Cobalt
#0047AB
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B36A7 #A79C2B
analogous
#2B74A7 #2B36A7 #5E2BA7
triadic
#2B36A7 #A72B36 #36A72B
tetradic
#2B36A7 #A72B74 #A79C2B #2BA75E
square
#2B36A7 #A72B74 #A79C2B #2BA75E
split-complementary
#2B36A7 #A75E2B #74A72B
monochromatic
#121746 #1E2676 #2B36A7 #414ECE #727BDB
Accessibility & contrast
On white
9.60
#2B36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2B36A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B36A7
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B36A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B36A7 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b36a7; /* rgb */ color: rgb(43, 54, 167); /* oklch */ color: oklch(40.5% 0.179 271.2);
Tailwind
colors: {
custom: {
50: '#786dc2',
500: '#2b36a7',
950: '#000000',
},
}SCSS
$custom: #2b36a7; $custom-light: #786dc2; $custom-dark: #000000;
JSON
{
"hex": "#2b36a7",
"rgb": {
"r": 43,
"g": 54,
"b": 167
},
"hsl": {
"h": 234.677,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.4045,
"c": 0.17874,
"h": 271.2
},
"luminance": 0.05942
}Semantic roles & 50–950 ramp
primary
#2B36A7
secondary
#C2BA6C
accent
#D446E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82