#2B2A8F#2B2A8F
#2B2A8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.161 H 275.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A8F |
|---|---|
| RGB | rgb(43, 42, 143) |
| HSL | hsl(241, 55%, 36%) |
| HSV | hsv(241, 71%, 56%) |
| CMYK | cmyk(69.9%, 70.6%, 0%, 43.9%) |
| CIE-LAB | lab(24.17, 34.23, -55.50) |
| CIE-LCH | lch(24.17, 65.21, 301.67°) |
| OKLab | oklab(36.06% 0.0144 -0.1603) |
| OKLCH | oklch(36.06% 0.161 275.1) |
| XYZ | xyz(6.7805, 4.1521, 26.4254) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 5.49
Midnight Blue
#191970
ΔE00 6.09
Indigo Blue
#3A18B1
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.67
Cobalt Blue
#030AA7
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A8F #8E8F2A
analogous
#2A5C8F #2B2A8F #5E2A8F
triadic
#2B2A8F #8F2B2A #2A8F2B
tetradic
#2B2A8F #8F2A5C #8E8F2A #2A8F5E
square
#2B2A8F #8F2A5C #8E8F2A #2A8F5E
split-complementary
#2B2A8F #8F5E2A #5C8F2A
monochromatic
#0F0E30 #1D1C60 #2B2A8F #3938BE #6362D1
Accessibility & contrast
On white
11.47
#2B2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B2A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A8F
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A8F | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b2a8f; /* rgb */ color: rgb(43, 42, 143); /* oklch */ color: oklch(36.1% 0.161 275.1);
Tailwind
colors: {
custom: {
50: '#7364b1',
500: '#2b2a8f',
950: '#000000',
},
}SCSS
$custom: #2b2a8f; $custom-light: #7364b1; $custom-dark: #000000;
JSON
{
"hex": "#2b2a8f",
"rgb": {
"r": 43,
"g": 42,
"b": 143
},
"hsl": {
"h": 240.594,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.36062,
"c": 0.16098,
"h": 275.1
},
"luminance": 0.04153
}Semantic roles & 50–950 ramp
primary
#2B2A8F
secondary
#B6B75E
accent
#DE4ADC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80