#2A2B72#2A2B72
#2A2B72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.4% C 0.119 H 277.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B72 |
|---|---|
| RGB | rgb(42, 43, 114) |
| HSL | hsl(239, 46%, 31%) |
| HSV | hsv(239, 63%, 45%) |
| CMYK | cmyk(63.2%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(21.71, 22.99, -41.24) |
| CIE-LCH | lch(21.71, 47.21, 299.14°) |
| OKLab | oklab(33.43% 0.0149 -0.1185) |
| OKLCH | oklch(33.43% 0.119 277.2) |
| XYZ | xyz(4.8550, 3.4345, 16.3234) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 6.93
Marine
#042E60
ΔE00 7.31
Royal
#0C1793
ΔE00 8.13
Blueberry
#464196
ΔE00 8.22
Navy Blue
#1B2A4A
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B72 #72712A
analogous
#2A4F72 #2A2B72 #4D2A72
triadic
#2A2B72 #722A2B #2B722A
tetradic
#2A2B72 #722A4F #72712A #2A724D
square
#2A2B72 #722A4F #72712A #2A724D
split-complementary
#2A2B72 #724D2A #4F722A
monochromatic
#090919 #1A1A45 #2A2B72 #3A3C9F #5657C1
Accessibility & contrast
On white
12.45
#2A2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2A2B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B72
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B72 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2a2b72; /* rgb */ color: rgb(42, 43, 114); /* oklch */ color: oklch(33.4% 0.119 277.2);
Tailwind
colors: {
custom: {
50: '#6c649b',
500: '#2a2b72',
950: '#000000',
},
}SCSS
$custom: #2a2b72; $custom-light: #6c649b; $custom-dark: #000000;
JSON
{
"hex": "#2a2b72",
"rgb": {
"r": 42,
"g": 43,
"b": 114
},
"hsl": {
"h": 239.167,
"s": 46.154,
"l": 30.588
},
"oklch": {
"l": 0.33434,
"c": 0.11946,
"h": 277.2
},
"luminance": 0.03435
}Semantic roles & 50–950 ramp
primary
#2A2B72
secondary
#A4A354
accent
#D452D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E