#2B1E7F#2B1E7F
#2B1E7F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.153 H 279.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E7F |
|---|---|
| RGB | rgb(43, 30, 127) |
| HSL | hsl(248, 62%, 31%) |
| HSV | hsv(248, 76%, 50%) |
| CMYK | cmyk(66.1%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(19.94, 35.99, -52.42) |
| CIE-LCH | lch(19.94, 63.59, 304.47°) |
| OKLab | oklab(32.55% 0.0258 -0.1513) |
| OKLCH | oklch(32.55% 0.153 279.7) |
| XYZ | xyz(5.2901, 2.9740, 20.3698) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.18
Royal
#0C1793
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 5.07
Dark Royal Blue
#02066F
ΔE00 5.95
Darkblue
#00008B
ΔE00 5.97
Navy
#000080
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E7F #727F1E
analogous
#1E417F #2B1E7F #5B1E7F
triadic
#2B1E7F #7F2B1E #1E7F2B
tetradic
#2B1E7F #7F1E41 #727F1E #1E7F5B
square
#2B1E7F #7F1E41 #727F1E #1E7F5B
split-complementary
#2B1E7F #7F5B1E #417F1E
monochromatic
#09071C #1A124D #2B1E7F #3C2AB1 #5844D3
Accessibility & contrast
On white
13.17
#2B1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2B1E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E7F
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E7F | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1e7f; /* rgb */ color: rgb(43, 30, 127); /* oklch */ color: oklch(32.6% 0.153 279.7);
Tailwind
colors: {
custom: {
50: '#705ca5',
500: '#2b1e7f',
950: '#000000',
},
}SCSS
$custom: #2b1e7f; $custom-light: #705ca5; $custom-dark: #000000;
JSON
{
"hex": "#2b1e7f",
"rgb": {
"r": 43,
"g": 30,
"b": 127
},
"hsl": {
"h": 248.041,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.32553,
"c": 0.15348,
"h": 279.7
},
"luminance": 0.02974
}Semantic roles & 50–950 ramp
primary
#2B1E7F
secondary
#A4B247
accent
#E543CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F