#2B2A8E#2B2A8E
#2B2A8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.160 H 275.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A8E |
|---|---|
| RGB | rgb(43, 42, 142) |
| HSL | hsl(241, 54%, 36%) |
| HSV | hsv(241, 70%, 56%) |
| CMYK | cmyk(69.7%, 70.4%, 0%, 44.3%) |
| CIE-LAB | lab(24.07, 33.88, -55.04) |
| CIE-LCH | lch(24.07, 64.63, 301.62°) |
| OKLab | oklab(35.96% 0.0146 -0.159) |
| OKLCH | oklch(35.96% 0.16 275.2) |
| XYZ | xyz(6.7051, 4.1219, 26.0282) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.84
Sapphire (survey)
#2138AB
ΔE00 5.59
Midnight Blue
#191970
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 6.64
Blueberry
#464196
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A8E #8D8E2A
analogous
#2A5B8E #2B2A8E #5D2A8E
triadic
#2B2A8E #8E2B2A #2A8E2B
tetradic
#2B2A8E #8E2A5B #8D8E2A #2A8E5D
square
#2B2A8E #8E2A5B #8D8E2A #2A8E5D
split-complementary
#2B2A8E #8E5D2A #5B8E2A
monochromatic
#0E0E30 #1D1C5F #2B2A8E #3938BD #6362D1
Accessibility & contrast
On white
11.51
#2B2A8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2B2A8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A8E
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A8E | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b2a8e; /* rgb */ color: rgb(43, 42, 142); /* oklch */ color: oklch(36.0% 0.160 275.2);
Tailwind
colors: {
custom: {
50: '#7364b0',
500: '#2b2a8e',
950: '#000000',
},
}SCSS
$custom: #2b2a8e; $custom-light: #7364b0; $custom-dark: #000000;
JSON
{
"hex": "#2b2a8e",
"rgb": {
"r": 43,
"g": 42,
"b": 142
},
"hsl": {
"h": 240.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.35962,
"c": 0.15966,
"h": 275.2
},
"luminance": 0.04123
}Semantic roles & 50–950 ramp
primary
#2B2A8E
secondary
#B6B65D
accent
#DE4ADC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80