#2B2283#2B2283
#2B2283 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.154 H 278.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2283 |
|---|---|
| RGB | rgb(43, 34, 131) |
| HSL | hsl(246, 59%, 32%) |
| HSV | hsv(246, 74%, 51%) |
| CMYK | cmyk(67.2%, 74%, 0%, 48.6%) |
| CIE-LAB | lab(21.19, 34.98, -52.89) |
| CIE-LCH | lch(21.19, 63.41, 303.48°) |
| OKLab | oklab(33.57% 0.0221 -0.1527) |
| OKLCH | oklch(33.57% 0.154 278.2) |
| XYZ | xyz(5.6637, 3.2959, 21.8060) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.83
Royal
#0C1793
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 5.95
Darkblue
#00008B
ΔE00 6.60
Cobalt Blue
#030AA7
ΔE00 6.65
Navy
#000080
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2283 #7A8322
analogous
#224A83 #2B2283 #5C2283
triadic
#2B2283 #832B22 #22832B
tetradic
#2B2283 #83224A #7A8322 #22835C
square
#2B2283 #83224A #7A8322 #22835C
split-complementary
#2B2283 #835C22 #4A8322
monochromatic
#0B0922 #1B1552 #2B2283 #3B2FB4 #5A4ED1
Accessibility & contrast
On white
12.66
#2B2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2B2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2283
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2283 | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2283; /* rgb */ color: rgb(43, 34, 131); /* oklch */ color: oklch(33.6% 0.154 278.2);
Tailwind
colors: {
custom: {
50: '#715ea8',
500: '#2b2283',
950: '#000000',
},
}SCSS
$custom: #2b2283; $custom-light: #715ea8; $custom-dark: #000000;
JSON
{
"hex": "#2b2283",
"rgb": {
"r": 43,
"g": 34,
"b": 131
},
"hsl": {
"h": 245.567,
"s": 58.788,
"l": 32.353
},
"oklch": {
"l": 0.33566,
"c": 0.15428,
"h": 278.2
},
"luminance": 0.03296
}Semantic roles & 50–950 ramp
primary
#2B2283
secondary
#ABB44C
accent
#E246D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F