#2B2A7C#2B2A7C
#2B2A7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.135 H 277.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A7C |
|---|---|
| RGB | rgb(43, 42, 124) |
| HSL | hsl(241, 49%, 33%) |
| HSV | hsv(241, 66%, 49%) |
| CMYK | cmyk(65.3%, 66.1%, 0%, 51.4%) |
| CIE-LAB | lab(22.39, 27.47, -46.50) |
| CIE-LCH | lch(22.39, 54.01, 300.57°) |
| OKLab | oklab(34.23% 0.0166 -0.134) |
| OKLCH | oklch(34.23% 0.135 277.1) |
| XYZ | xyz(5.4611, 3.6243, 19.4766) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.76
Royal
#0C1793
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.53
Blueberry
#464196
ΔE00 7.56
Sapphire (survey)
#2138AB
ΔE00 7.76
Marine
#042E60
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A7C #7B7C2A
analogous
#2A527C #2B2A7C #542A7C
triadic
#2B2A7C #7C2B2A #2A7C2B
tetradic
#2B2A7C #7C2A52 #7B7C2A #2A7C54
square
#2B2A7C #7C2A52 #7B7C2A #2A7C54
split-complementary
#2B2A7C #7C542A #527C2A
monochromatic
#0B0B21 #1B1B4E #2B2A7C #3B39AA #5B59C7
Accessibility & contrast
On white
12.17
#2B2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2B2A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A7C
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A7C | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b2a7c; /* rgb */ color: rgb(43, 42, 124); /* oklch */ color: oklch(34.2% 0.135 277.1);
Tailwind
colors: {
custom: {
50: '#6f64a3',
500: '#2b2a7c',
950: '#000000',
},
}SCSS
$custom: #2b2a7c; $custom-light: #6f64a3; $custom-dark: #000000;
JSON
{
"hex": "#2b2a7c",
"rgb": {
"r": 43,
"g": 42,
"b": 124
},
"hsl": {
"h": 240.732,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.34225,
"c": 0.13501,
"h": 277.1
},
"luminance": 0.03625
}Semantic roles & 50–950 ramp
primary
#2B2A7C
secondary
#ABAD55
accent
#D94FD7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F