#2E2483#2E2483
#2E2483 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.151 H 279.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2483 |
|---|---|
| RGB | rgb(46, 36, 131) |
| HSL | hsl(246, 57%, 33%) |
| HSV | hsv(246, 73%, 51%) |
| CMYK | cmyk(64.9%, 72.5%, 0%, 48.6%) |
| CIE-LAB | lab(21.87, 34.19, -51.76) |
| CIE-LCH | lch(21.87, 62.03, 303.45°) |
| OKLab | oklab(34.12% 0.0249 -0.1493) |
| OKLCH | oklch(34.12% 0.151 279.4) |
| XYZ | xyz(5.8530, 3.4808, 21.8318) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.21
Royal
#0C1793
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 6.26
Cobalt Blue
#030AA7
ΔE00 7.05
Darkblue
#00008B
ΔE00 7.16
Indigo Blue
#3A18B1
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2483 #798324
analogous
#244983 #2E2483 #5E2483
triadic
#2E2483 #832E24 #24832E
tetradic
#2E2483 #832449 #798324 #24835E
square
#2E2483 #832449 #798324 #24835E
split-complementary
#2E2483 #835E24 #498324
monochromatic
#0C0A23 #1D1753 #2E2483 #3F31B3 #5F52CF
Accessibility & contrast
On white
12.38
#2E2483 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2E2483 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2483
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2483 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2483 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2483; /* rgb */ color: rgb(46, 36, 131); /* oklch */ color: oklch(34.1% 0.151 279.4);
Tailwind
colors: {
custom: {
50: '#7260a8',
500: '#2e2483',
950: '#000000',
},
}SCSS
$custom: #2e2483; $custom-light: #7260a8; $custom-dark: #000000;
JSON
{
"hex": "#2e2483",
"rgb": {
"r": 46,
"g": 36,
"b": 131
},
"hsl": {
"h": 246.316,
"s": 56.886,
"l": 32.745
},
"oklch": {
"l": 0.34117,
"c": 0.15135,
"h": 279.4
},
"luminance": 0.03481
}Semantic roles & 50–950 ramp
primary
#2E2483
secondary
#A9B34F
accent
#E048D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F