#2E279E#2E279E
#2E279E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.183 H 275.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2E279E |
|---|---|
| RGB | rgb(46, 39, 158) |
| HSL | hsl(244, 60%, 39%) |
| HSV | hsv(244, 75%, 62%) |
| CMYK | cmyk(70.9%, 75.3%, 0%, 38%) |
| CIE-LAB | lab(25.26, 41.48, -62.92) |
| CIE-LCH | lch(25.26, 75.36, 303.40°) |
| OKLab | oklab(37.35% 0.0175 -0.1819) |
| OKLCH | oklch(37.35% 0.183 275.5) |
| XYZ | xyz(8.0218, 4.4997, 32.7869) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Royal
#0C1793
ΔE00 4.38
Sapphire (survey)
#2138AB
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 5.36
Royal Blue (survey)
#0504AA
ΔE00 5.83
Ultramarine
#2000B1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E279E #979E27
analogous
#275B9E #2E279E #69279E
triadic
#2E279E #9E2E27 #279E2E
tetradic
#2E279E #9E275B #979E27 #279E69
square
#2E279E #9E275B #979E27 #279E69
split-complementary
#2E279E #9E6927 #5B9E27
monochromatic
#110F3C #201B6D #2E279E #3E35CD #6D66D9
Accessibility & contrast
On white
11.05
#2E279E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2E279E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E279E
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E279E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E279E | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e279e; /* rgb */ color: rgb(46, 39, 158); /* oklch */ color: oklch(37.4% 0.183 275.5);
Tailwind
colors: {
custom: {
50: '#7863bc',
500: '#2e279e',
950: '#000000',
},
}SCSS
$custom: #2e279e; $custom-light: #7863bc; $custom-dark: #000000;
JSON
{
"hex": "#2e279e",
"rgb": {
"r": 46,
"g": 39,
"b": 158
},
"hsl": {
"h": 243.529,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.37355,
"c": 0.18273,
"h": 275.5
},
"luminance": 0.04501
}Semantic roles & 50–950 ramp
primary
#2E279E
secondary
#BABF62
accent
#E444DA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81