#2B2E7A#2B2E7A
#2B2E7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.127 H 275.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E7A |
|---|---|
| RGB | rgb(43, 46, 122) |
| HSL | hsl(238, 48%, 32%) |
| HSV | hsv(238, 65%, 48%) |
| CMYK | cmyk(64.8%, 62.3%, 0%, 52.2%) |
| CIE-LAB | lab(23.24, 24.06, -43.84) |
| CIE-LCH | lch(23.24, 50.01, 298.76°) |
| OKLab | oklab(34.8% 0.013 -0.1261) |
| OKLCH | oklch(34.8% 0.127 275.9) |
| XYZ | xyz(5.4850, 3.8723, 18.8670) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 6.01
Blueberry
#464196
ΔE00 7.01
Marine
#042E60
ΔE00 7.49
Sapphire (survey)
#2138AB
ΔE00 7.69
Royal
#0C1793
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E7A #7A772B
analogous
#2B557A #2B2E7A #502B7A
triadic
#2B2E7A #7A2B2E #2E7A2B
tetradic
#2B2E7A #7A2B55 #7A772B #2B7A50
square
#2B2E7A #7A2B55 #7A772B #2B7A50
split-complementary
#2B2E7A #7A502B #557A2B
monochromatic
#0B0C1F #1B1D4D #2B2E7A #3B3FA7 #5A5EC5
Accessibility & contrast
On white
11.83
#2B2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2B2E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E7A
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E7A | 1.00 | 11.83 | 1.77 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b2e7a; /* rgb */ color: rgb(43, 46, 122); /* oklch */ color: oklch(34.8% 0.127 275.9);
Tailwind
colors: {
custom: {
50: '#6e66a1',
500: '#2b2e7a',
950: '#000000',
},
}SCSS
$custom: #2b2e7a; $custom-light: #6e66a1; $custom-dark: #000000;
JSON
{
"hex": "#2b2e7a",
"rgb": {
"r": 43,
"g": 46,
"b": 122
},
"hsl": {
"h": 237.722,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.348,
"c": 0.12679,
"h": 275.9
},
"luminance": 0.03873
}Semantic roles & 50–950 ramp
primary
#2B2E7A
secondary
#ABA856
accent
#D250D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F