#2A2B79#2A2B79
#2A2B79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.130 H 276.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B79 |
|---|---|
| RGB | rgb(42, 43, 121) |
| HSL | hsl(239, 48%, 32%) |
| HSV | hsv(239, 65%, 47%) |
| CMYK | cmyk(65.3%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(22.30, 25.55, -44.74) |
| CIE-LCH | lch(22.30, 51.52, 299.73°) |
| OKLab | oklab(34.06% 0.0146 -0.1288) |
| OKLCH | oklch(34.06% 0.13 276.5) |
| XYZ | xyz(5.2688, 3.6000, 18.5027) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 6.55
Royal
#0C1793
ΔE00 7.09
Blueberry
#464196
ΔE00 7.63
Marine
#042E60
ΔE00 7.86
Sapphire (survey)
#2138AB
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B79 #79782A
analogous
#2A5279 #2A2B79 #512A79
triadic
#2A2B79 #792A2B #2B792A
tetradic
#2A2B79 #792A52 #79782A #2A7951
square
#2A2B79 #792A52 #79782A #2A7951
split-complementary
#2A2B79 #79512A #52792A
monochromatic
#0A0B1E #1A1B4C #2A2B79 #3A3BA6 #585AC5
Accessibility & contrast
On white
12.21
#2A2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2A2B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B79
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B79 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2a2b79; /* rgb */ color: rgb(42, 43, 121); /* oklch */ color: oklch(34.1% 0.130 276.5);
Tailwind
colors: {
custom: {
50: '#6d64a0',
500: '#2a2b79',
950: '#000000',
},
}SCSS
$custom: #2a2b79; $custom-light: #6d64a0; $custom-dark: #000000;
JSON
{
"hex": "#2a2b79",
"rgb": {
"r": 42,
"g": 43,
"b": 121
},
"hsl": {
"h": 239.241,
"s": 48.466,
"l": 31.961
},
"oklch": {
"l": 0.3406,
"c": 0.12966,
"h": 276.5
},
"luminance": 0.036
}Semantic roles & 50–950 ramp
primary
#2A2B79
secondary
#ABAA54
accent
#D650D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050F
muted
#7A7A7E