#2B2B86#2B2B86
#2B2B86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.148 H 275.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B86 |
|---|---|
| RGB | rgb(43, 43, 134) |
| HSL | hsl(240, 51%, 35%) |
| HSV | hsv(240, 68%, 53%) |
| CMYK | cmyk(67.9%, 67.9%, 0%, 47.5%) |
| CIE-LAB | lab(23.55, 30.41, -50.91) |
| CIE-LCH | lch(23.55, 59.30, 300.85°) |
| OKLab | oklab(35.35% 0.0148 -0.1469) |
| OKLCH | oklch(35.35% 0.148 275.8) |
| XYZ | xyz(6.1618, 3.9620, 22.9897) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.46
Royal
#0C1793
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 6.28
Sapphire (survey)
#2138AB
ΔE00 6.32
Blueberry
#464196
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B86 #86862B
analogous
#2B5986 #2B2B86 #592B86
triadic
#2B2B86 #862B2B #2B862B
tetradic
#2B2B86 #862B59 #86862B #2B8659
square
#2B2B86 #862B59 #86862B #2B8659
split-complementary
#2B2B86 #86592B #59862B
monochromatic
#0D0D29 #1C1C58 #2B2B86 #3A3AB4 #6060CC
Accessibility & contrast
On white
11.71
#2B2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2B2B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B86
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B86 | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b2b86; /* rgb */ color: rgb(43, 43, 134); /* oklch */ color: oklch(35.3% 0.148 275.8);
Tailwind
colors: {
custom: {
50: '#7165aa',
500: '#2b2b86',
950: '#000000',
},
}SCSS
$custom: #2b2b86; $custom-light: #7165aa; $custom-dark: #000000;
JSON
{
"hex": "#2b2b86",
"rgb": {
"r": 43,
"g": 43,
"b": 134
},
"hsl": {
"h": 240,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.35349,
"c": 0.14765,
"h": 275.8
},
"luminance": 0.03963
}Semantic roles & 50–950 ramp
primary
#2B2B86
secondary
#B2B25B
accent
#DB4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F