#2B1C9E#2B1C9E
#2B1C9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.193 H 275.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1C9E |
|---|---|
| RGB | rgb(43, 28, 158) |
| HSL | hsl(247, 70%, 36%) |
| HSV | hsv(247, 82%, 62%) |
| CMYK | cmyk(72.8%, 82.3%, 0%, 38%) |
| CIE-LAB | lab(23.04, 46.95, -66.59) |
| CIE-LCH | lch(23.04, 81.48, 305.19°) |
| OKLab | oklab(35.74% 0.0186 -0.1925) |
| OKLCH | oklch(35.74% 0.193 275.5) |
| XYZ | xyz(7.5810, 3.8120, 32.6774) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.94
Indigo Blue
#3A18B1
ΔE00 3.15
Cobalt Blue
#030AA7
ΔE00 3.29
Royal Blue (survey)
#0504AA
ΔE00 3.71
Ultramarine
#2000B1
ΔE00 3.82
True Blue
#010FCC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1C9E #8F9E1C
analogous
#1C4E9E #2B1C9E #6C1C9E
triadic
#2B1C9E #9E2B1C #1C9E2B
tetradic
#2B1C9E #9E1C4E #8F9E1C #1C9E6C
square
#2B1C9E #9E1C4E #8F9E1C #1C9E6C
split-complementary
#2B1C9E #9E6C1C #4E9E1C
monochromatic
#0F0A36 #1D136A #2B1C9E #3925D2 #6454E1
Accessibility & contrast
On white
11.91
#2B1C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2B1C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1C9E
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1C9E | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b1c9e; /* rgb */ color: rgb(43, 28, 158); /* oklch */ color: oklch(35.7% 0.193 275.5);
Tailwind
colors: {
custom: {
50: '#785dbc',
500: '#2b1c9e',
950: '#000000',
},
}SCSS
$custom: #2b1c9e; $custom-light: #785dbc; $custom-dark: #000000;
JSON
{
"hex": "#2b1c9e",
"rgb": {
"r": 43,
"g": 28,
"b": 158
},
"hsl": {
"h": 246.923,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.35744,
"c": 0.19341,
"h": 275.5
},
"luminance": 0.03813
}Semantic roles & 50–950 ramp
primary
#2B1C9E
secondary
#B7C452
accent
#ED3BD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981