#2E2B71#2E2B71
#2E2B71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.7% C 0.117 H 280.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B71 |
|---|---|
| RGB | rgb(46, 43, 113) |
| HSL | hsl(243, 45%, 31%) |
| HSV | hsv(243, 62%, 44%) |
| CMYK | cmyk(59.3%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(21.95, 23.41, -40.19) |
| CIE-LCH | lch(21.95, 46.51, 300.23°) |
| OKLab | oklab(33.67% 0.0203 -0.1153) |
| OKLCH | oklch(33.67% 0.117 280) |
| XYZ | xyz(4.9703, 3.5005, 16.0333) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 6.68
Marine
#042E60
ΔE00 7.95
Blueberry
#464196
ΔE00 8.16
Royal
#0C1793
ΔE00 8.39
Navy Blue
#1B2A4A
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B71 #6E712B
analogous
#2B4B71 #2E2B71 #512B71
triadic
#2E2B71 #712E2B #2B712E
tetradic
#2E2B71 #712B4B #6E712B #2B7151
square
#2E2B71 #712B4B #6E712B #2B7151
split-complementary
#2E2B71 #71512B #4B712B
monochromatic
#0A0918 #1C1A45 #2E2B71 #403C9D #5C57BF
Accessibility & contrast
On white
12.35
#2E2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2E2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B71
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B71 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#0A3C49
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2b71; /* rgb */ color: rgb(46, 43, 113); /* oklch */ color: oklch(33.7% 0.117 280.0);
Tailwind
colors: {
custom: {
50: '#6e649a',
500: '#2e2b71',
950: '#000000',
},
}SCSS
$custom: #2e2b71; $custom-light: #6e649a; $custom-dark: #000000;
JSON
{
"hex": "#2e2b71",
"rgb": {
"r": 46,
"g": 43,
"b": 113
},
"hsl": {
"h": 242.571,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.33668,
"c": 0.1171,
"h": 280
},
"luminance": 0.03501
}Semantic roles & 50–950 ramp
primary
#2E2B71
secondary
#9FA355
accent
#D553CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E