#2B36A8#2B36A8
#2B36A8 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.180 H 271.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B36A8 |
|---|---|
| RGB | rgb(43, 54, 168) |
| HSL | hsl(235, 59%, 41%) |
| HSV | hsv(235, 74%, 66%) |
| CMYK | cmyk(74.4%, 67.9%, 0%, 34.1%) |
| CIE-LAB | lab(29.36, 35.56, -62.23) |
| CIE-LCH | lch(29.36, 71.68, 299.74°) |
| OKLab | oklab(40.55% 0.0038 -0.18) |
| OKLCH | oklch(40.55% 0.18 271.2) |
| XYZ | xyz(9.3809, 5.9781, 37.6977) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.22
Blue Blue
#2242C7
ΔE00 5.23
Blueberry
#464196
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 6.72
Blue With A Hint Of Purple
#533CC6
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B36A8 #A89D2B
analogous
#2B75A8 #2B36A8 #5F2BA8
triadic
#2B36A8 #A82B36 #36A82B
tetradic
#2B36A8 #A82B75 #A89D2B #2BA85F
square
#2B36A8 #A82B75 #A89D2B #2BA85F
split-complementary
#2B36A8 #A85F2B #75A82B
monochromatic
#121747 #1F2677 #2B36A8 #424ECF #727CDB
Accessibility & contrast
On white
9.56
#2B36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2B36A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B36A8
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B36A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B36A8 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b36a8; /* rgb */ color: rgb(43, 54, 168); /* oklch */ color: oklch(40.5% 0.180 271.2);
Tailwind
colors: {
custom: {
50: '#786dc3',
500: '#2b36a8',
950: '#000000',
},
}SCSS
$custom: #2b36a8; $custom-light: #786dc3; $custom-dark: #000000;
JSON
{
"hex": "#2b36a8",
"rgb": {
"r": 43,
"g": 54,
"b": 168
},
"hsl": {
"h": 234.72,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.40547,
"c": 0.18004,
"h": 271.2
},
"luminance": 0.05979
}Semantic roles & 50–950 ramp
primary
#2B36A8
secondary
#C2BB6C
accent
#D545E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82