#2B1E7C#2B1E7C
#2B1E7C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.150 H 280.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E7C |
|---|---|
| RGB | rgb(43, 30, 124) |
| HSL | hsl(248, 61%, 30%) |
| HSV | hsv(248, 76%, 49%) |
| CMYK | cmyk(65.3%, 75.8%, 0%, 51.4%) |
| CIE-LAB | lab(19.63, 34.99, -51.03) |
| CIE-LCH | lch(19.63, 61.88, 304.44°) |
| OKLab | oklab(32.24% 0.0265 -0.1472) |
| OKLCH | oklch(32.24% 0.15 280.2) |
| XYZ | xyz(5.0975, 2.8970, 19.3554) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.88
Royal
#0C1793
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 5.21
Dark Royal Blue
#02066F
ΔE00 5.85
Deep Blue
#040273
ΔE00 6.15
Navy
#000080
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E7C #6F7C1E
analogous
#1E407C #2B1E7C #5A1E7C
triadic
#2B1E7C #7C2B1E #1E7C2B
tetradic
#2B1E7C #7C1E40 #6F7C1E #1E7C5A
square
#2B1E7C #7C1E40 #6F7C1E #1E7C5A
split-complementary
#2B1E7C #7C5A1E #407C1E
monochromatic
#090619 #1A124B #2B1E7C #3C2AAD #5743D1
Accessibility & contrast
On white
13.30
#2B1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2B1E7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E7C
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E7C | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b1e7c; /* rgb */ color: rgb(43, 30, 124); /* oklch */ color: oklch(32.2% 0.150 280.2);
Tailwind
colors: {
custom: {
50: '#705ca3',
500: '#2b1e7c',
950: '#000000',
},
}SCSS
$custom: #2b1e7c; $custom-light: #705ca3; $custom-dark: #000000;
JSON
{
"hex": "#2b1e7c",
"rgb": {
"r": 43,
"g": 30,
"b": 124
},
"hsl": {
"h": 248.298,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.32237,
"c": 0.14959,
"h": 280.2
},
"luminance": 0.02897
}Semantic roles & 50–950 ramp
primary
#2B1E7C
secondary
#A1AF46
accent
#E444CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F