#2B1C8F#2B1C8F
#2B1C8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.175 H 277.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1C8F |
|---|---|
| RGB | rgb(43, 28, 143) |
| HSL | hsl(248, 67%, 34%) |
| HSV | hsv(248, 80%, 56%) |
| CMYK | cmyk(69.9%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(21.31, 42.27, -60.21) |
| CIE-LCH | lch(21.31, 73.57, 305.07°) |
| OKLab | oklab(34.03% 0.0228 -0.174) |
| OKLCH | oklch(34.03% 0.175 277.5) |
| XYZ | xyz(6.3678, 3.3267, 26.2878) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.45
Cobalt Blue
#030AA7
ΔE00 4.39
Indigo (survey)
#380282
ΔE00 4.76
Royal Blue (survey)
#0504AA
ΔE00 4.88
Indigo Blue
#3A18B1
ΔE00 5.09
Darkblue
#00008B
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1C8F #808F1C
analogous
#1C468F #2B1C8F #641C8F
triadic
#2B1C8F #8F2B1C #1C8F2B
tetradic
#2B1C8F #8F1C46 #808F1C #1C8F64
square
#2B1C8F #8F1C46 #808F1C #1C8F64
split-complementary
#2B1C8F #8F641C #468F1C
monochromatic
#0C0829 #1C125C #2B1C8F #3A26C2 #5D4ADC
Accessibility & contrast
On white
12.61
#2B1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2B1C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1C8F
12.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1C8F | 1.00 | 12.61 | 1.67 | 12.61 |
| #FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b1c8f; /* rgb */ color: rgb(43, 28, 143); /* oklch */ color: oklch(34.0% 0.175 277.5);
Tailwind
colors: {
custom: {
50: '#745cb1',
500: '#2b1c8f',
950: '#000000',
},
}SCSS
$custom: #2b1c8f; $custom-light: #745cb1; $custom-dark: #000000;
JSON
{
"hex": "#2b1c8f",
"rgb": {
"r": 43,
"g": 28,
"b": 143
},
"hsl": {
"h": 247.826,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.34033,
"c": 0.17547,
"h": 277.5
},
"luminance": 0.03327
}Semantic roles & 50–950 ramp
primary
#2B1C8F
secondary
#AEBE49
accent
#EA3ED4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980