#2B2A75#2B2A75
#2B2A75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.125 H 277.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A75 |
|---|---|
| RGB | rgb(43, 42, 117) |
| HSL | hsl(241, 47%, 31%) |
| HSV | hsv(241, 64%, 46%) |
| CMYK | cmyk(63.2%, 64.1%, 0%, 54.1%) |
| CIE-LAB | lab(21.78, 24.95, -43.04) |
| CIE-LCH | lch(21.78, 49.75, 300.10°) |
| OKLab | oklab(33.59% 0.0171 -0.1238) |
| OKLCH | oklch(33.59% 0.125 277.9) |
| XYZ | xyz(5.0341, 3.4535, 17.2275) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 6.80
Royal
#0C1793
ΔE00 7.45
Marine
#042E60
ΔE00 7.90
Blueberry
#464196
ΔE00 8.06
Sapphire (survey)
#2138AB
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A75 #74752A
analogous
#2A4E75 #2B2A75 #502A75
triadic
#2B2A75 #752B2A #2A752B
tetradic
#2B2A75 #752A4E #74752A #2A7550
square
#2B2A75 #752A4E #74752A #2A7550
split-complementary
#2B2A75 #75502A #4E752A
monochromatic
#0A0A1B #1A1A48 #2B2A75 #3C3AA2 #5857C3
Accessibility & contrast
On white
12.42
#2B2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2B2A75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A75
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A75 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2a75; /* rgb */ color: rgb(43, 42, 117); /* oklch */ color: oklch(33.6% 0.125 277.9);
Tailwind
colors: {
custom: {
50: '#6d639d',
500: '#2b2a75',
950: '#000000',
},
}SCSS
$custom: #2b2a75; $custom-light: #6d639d; $custom-dark: #000000;
JSON
{
"hex": "#2b2a75",
"rgb": {
"r": 43,
"g": 42,
"b": 117
},
"hsl": {
"h": 240.8,
"s": 47.17,
"l": 31.176
},
"oklch": {
"l": 0.33585,
"c": 0.125,
"h": 277.9
},
"luminance": 0.03454
}Semantic roles & 50–950 ramp
primary
#2B2A75
secondary
#A6A754
accent
#D751D5
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E