#2E2B72#2E2B72
#2E2B72 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.8% C 0.119 H 279.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B72 |
|---|---|
| RGB | rgb(46, 43, 114) |
| HSL | hsl(243, 45%, 31%) |
| HSV | hsv(243, 62%, 45%) |
| CMYK | cmyk(59.6%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(22.03, 23.77, -40.70) |
| CIE-LCH | lch(22.03, 47.13, 300.29°) |
| OKLab | oklab(33.75% 0.0202 -0.1168) |
| OKLCH | oklch(33.75% 0.119 279.8) |
| XYZ | xyz(5.0269, 3.5232, 16.3315) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 6.60
Marine
#042E60
ΔE00 8.00
Blueberry
#464196
ΔE00 8.06
Royal
#0C1793
ΔE00 8.23
Navy Blue
#1B2A4A
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B72 #6F722B
analogous
#2B4B72 #2E2B72 #512B72
triadic
#2E2B72 #722E2B #2B722E
tetradic
#2E2B72 #722B4B #6F722B #2B7251
square
#2E2B72 #722B4B #6F722B #2B7251
split-complementary
#2E2B72 #72512B #4B722B
monochromatic
#0A0919 #1C1A46 #2E2B72 #403C9E #5C58C0
Accessibility & contrast
On white
12.32
#2E2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2E2B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B72
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B72 | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#083C4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2b72; /* rgb */ color: rgb(46, 43, 114); /* oklch */ color: oklch(33.8% 0.119 279.8);
Tailwind
colors: {
custom: {
50: '#6e649b',
500: '#2e2b72',
950: '#000000',
},
}SCSS
$custom: #2e2b72; $custom-light: #6e649b; $custom-dark: #000000;
JSON
{
"hex": "#2e2b72",
"rgb": {
"r": 46,
"g": 43,
"b": 114
},
"hsl": {
"h": 242.535,
"s": 45.223,
"l": 30.784
},
"oklch": {
"l": 0.33754,
"c": 0.11857,
"h": 279.8
},
"luminance": 0.03524
}Semantic roles & 50–950 ramp
primary
#2E2B72
secondary
#A0A455
accent
#D553CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E