#2D2BAB#2D2BAB
#2D2BAB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.195 H 273.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2BAB |
|---|---|
| RGB | rgb(45, 43, 171) |
| HSL | hsl(241, 60%, 42%) |
| HSV | hsv(241, 75%, 67%) |
| CMYK | cmyk(73.7%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(27.37, 43.43, -67.31) |
| CIE-LCH | lch(27.37, 80.11, 302.83°) |
| OKLab | oklab(39.24% 0.0116 -0.1947) |
| OKLCH | oklch(39.24% 0.195 273.4) |
| XYZ | xyz(9.2943, 5.2250, 39.0389) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.99
Indigo Blue
#3A18B1
ΔE00 4.01
True Blue
#010FCC
ΔE00 5.62
Royal
#0C1793
ΔE00 5.90
Cobalt Blue
#030AA7
ΔE00 6.14
Ultramarine
#2000B1
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2BAB #A9AB2B
analogous
#2B69AB #2D2BAB #6D2BAB
triadic
#2D2BAB #AB2D2B #2BAB2D
tetradic
#2D2BAB #AB2B69 #A9AB2B #2BAB6D
square
#2D2BAB #AB2B69 #A9AB2B #2BAB6D
split-complementary
#2D2BAB #AB6D2B #69AB2B
monochromatic
#131249 #201F7A #2D2BAB #4643D0 #7674DC
Accessibility & contrast
On white
10.27
#2D2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2D2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2BAB
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2BAB | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d2bab; /* rgb */ color: rgb(45, 43, 171); /* oklch */ color: oklch(39.2% 0.195 273.4);
Tailwind
colors: {
custom: {
50: '#7a66c5',
500: '#2d2bab',
950: '#000000',
},
}SCSS
$custom: #2d2bab; $custom-light: #7a66c5; $custom-dark: #000000;
JSON
{
"hex": "#2d2bab",
"rgb": {
"r": 45,
"g": 43,
"b": 171
},
"hsl": {
"h": 240.938,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.39239,
"c": 0.1951,
"h": 273.4
},
"luminance": 0.05226
}Semantic roles & 50–950 ramp
primary
#2D2BAB
secondary
#C2C46E
accent
#E345E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82