#2B2A8B#2B2A8B
#2B2A8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.156 H 275.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A8B |
|---|---|
| RGB | rgb(43, 42, 139) |
| HSL | hsl(241, 54%, 35%) |
| HSV | hsv(241, 70%, 55%) |
| CMYK | cmyk(69.1%, 69.8%, 0%, 45.5%) |
| CIE-LAB | lab(23.78, 32.82, -53.65) |
| CIE-LCH | lch(23.78, 62.89, 301.46°) |
| OKLab | oklab(35.66% 0.015 -0.1549) |
| OKLCH | oklch(35.66% 0.156 275.5) |
| XYZ | xyz(6.4829, 4.0330, 24.8579) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.00
Midnight Blue
#191970
ΔE00 5.69
Sapphire (survey)
#2138AB
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.55
Blueberry
#464196
ΔE00 7.01
Indigo Blue
#3A18B1
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A8B #8A8B2A
analogous
#2A598B #2B2A8B #5C2A8B
triadic
#2B2A8B #8B2B2A #2A8B2B
tetradic
#2B2A8B #8B2A59 #8A8B2A #2A8B5C
square
#2B2A8B #8B2A59 #8A8B2A #2A8B5C
split-complementary
#2B2A8B #8B5C2A #598B2A
monochromatic
#0E0E2D #1C1C5C #2B2A8B #3A38BA #6160CF
Accessibility & contrast
On white
11.62
#2B2A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2B2A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A8B
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A8B | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b2a8b; /* rgb */ color: rgb(43, 42, 139); /* oklch */ color: oklch(35.7% 0.156 275.5);
Tailwind
colors: {
custom: {
50: '#7264ae',
500: '#2b2a8b',
950: '#000000',
},
}SCSS
$custom: #2b2a8b; $custom-light: #7264ae; $custom-dark: #000000;
JSON
{
"hex": "#2b2a8b",
"rgb": {
"r": 43,
"g": 42,
"b": 139
},
"hsl": {
"h": 240.619,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.35664,
"c": 0.15564,
"h": 275.5
},
"luminance": 0.04034
}Semantic roles & 50–950 ramp
primary
#2B2A8B
secondary
#B4B55C
accent
#DD4BDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F