#2B2286#2B2286
#2B2286 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.158 H 277.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2286 |
|---|---|
| RGB | rgb(43, 34, 134) |
| HSL | hsl(245, 60%, 33%) |
| HSV | hsv(245, 75%, 53%) |
| CMYK | cmyk(67.9%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(21.50, 36.00, -54.27) |
| CIE-LCH | lch(21.50, 65.13, 303.56°) |
| OKLab | oklab(33.88% 0.0215 -0.1567) |
| OKLCH | oklch(33.88% 0.158 277.8) |
| XYZ | xyz(5.8700, 3.3784, 22.8924) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.73
Midnight Blue
#191970
ΔE00 4.17
Indigo (survey)
#380282
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 6.27
Darkblue
#00008B
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2286 #7D8622
analogous
#224B86 #2B2286 #5D2286
triadic
#2B2286 #862B22 #22862B
tetradic
#2B2286 #86224B #7D8622 #22865D
square
#2B2286 #86224B #7D8622 #22865D
split-complementary
#2B2286 #865D22 #4B8622
monochromatic
#0C0924 #1B1655 #2B2286 #3B2EB7 #5C50D3
Accessibility & contrast
On white
12.53
#2B2286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2B2286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2286
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2286 | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2286; /* rgb */ color: rgb(43, 34, 134); /* oklch */ color: oklch(33.9% 0.158 277.8);
Tailwind
colors: {
custom: {
50: '#725faa',
500: '#2b2286',
950: '#000000',
},
}SCSS
$custom: #2b2286; $custom-light: #725faa; $custom-dark: #000000;
JSON
{
"hex": "#2b2286",
"rgb": {
"r": 43,
"g": 34,
"b": 134
},
"hsl": {
"h": 245.4,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.33878,
"c": 0.15818,
"h": 277.8
},
"luminance": 0.03379
}Semantic roles & 50–950 ramp
primary
#2B2286
secondary
#ADB64E
accent
#E345D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F