#2B2E7E#2B2E7E
#2B2E7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.133 H 275.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E7E |
|---|---|
| RGB | rgb(43, 46, 126) |
| HSL | hsl(238, 49%, 33%) |
| HSV | hsv(238, 66%, 49%) |
| CMYK | cmyk(65.9%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.58, 25.52, -45.82) |
| CIE-LCH | lch(23.58, 52.45, 299.12°) |
| OKLab | oklab(35.16% 0.0129 -0.1319) |
| OKLCH | oklch(35.16% 0.133 275.6) |
| XYZ | xyz(5.7379, 3.9735, 20.1992) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.86
Midnight Blue
#191970
ΔE00 5.88
Blueberry
#464196
ΔE00 6.72
Sapphire (survey)
#2138AB
ΔE00 7.08
Royal
#0C1793
ΔE00 7.24
Marine
#042E60
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E7E #7E7B2B
analogous
#2B577E #2B2E7E #512B7E
triadic
#2B2E7E #7E2B2E #2E7E2B
tetradic
#2B2E7E #7E2B57 #7E7B2B #2B7E51
square
#2B2E7E #7E2B57 #7E7B2B #2B7E51
split-complementary
#2B2E7E #7E512B #577E2B
monochromatic
#0C0D23 #1B1D50 #2B2E7E #3B3FAC #5C60C7
Accessibility & contrast
On white
11.70
#2B2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2B2E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E7E
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E7E | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b2e7e; /* rgb */ color: rgb(43, 46, 126); /* oklch */ color: oklch(35.2% 0.133 275.6);
Tailwind
colors: {
custom: {
50: '#6f66a4',
500: '#2b2e7e',
950: '#000000',
},
}SCSS
$custom: #2b2e7e; $custom-light: #6f66a4; $custom-dark: #000000;
JSON
{
"hex": "#2b2e7e",
"rgb": {
"r": 43,
"g": 46,
"b": 126
},
"hsl": {
"h": 237.831,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.35156,
"c": 0.13257,
"h": 275.6
},
"luminance": 0.03974
}Semantic roles & 50–950 ramp
primary
#2B2E7E
secondary
#ADAA58
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F