#2E279F#2E279F
#2E279F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.184 H 275.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E279F |
|---|---|
| RGB | rgb(46, 39, 159) |
| HSL | hsl(244, 61%, 39%) |
| HSV | hsv(244, 75%, 62%) |
| CMYK | cmyk(71.1%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(25.36, 41.81, -63.35) |
| CIE-LCH | lch(25.36, 75.91, 303.42°) |
| OKLab | oklab(37.46% 0.0173 -0.1832) |
| OKLCH | oklch(37.46% 0.184 275.4) |
| XYZ | xyz(8.1082, 4.5343, 33.2421) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Royal
#0C1793
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 5.16
Cobalt Blue
#030AA7
ΔE00 5.33
Ultramarine
#2000B1
ΔE00 5.78
Royal Blue (survey)
#0504AA
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E279F #989F27
analogous
#275C9F #2E279F #6A279F
triadic
#2E279F #9F2E27 #279F2E
tetradic
#2E279F #9F275C #989F27 #279F6A
square
#2E279F #9F275C #989F27 #279F6A
split-complementary
#2E279F #9F6A27 #5C9F27
monochromatic
#120F3D #201B6E #2E279F #3E36CE #6D67DA
Accessibility & contrast
On white
11.01
#2E279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E279F
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E279F | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e279f; /* rgb */ color: rgb(46, 39, 159); /* oklch */ color: oklch(37.5% 0.184 275.4);
Tailwind
colors: {
custom: {
50: '#7863bd',
500: '#2e279f',
950: '#000000',
},
}SCSS
$custom: #2e279f; $custom-light: #7863bd; $custom-dark: #000000;
JSON
{
"hex": "#2e279f",
"rgb": {
"r": 46,
"g": 39,
"b": 159
},
"hsl": {
"h": 243.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.37461,
"c": 0.18398,
"h": 275.4
},
"luminance": 0.04535
}Semantic roles & 50–950 ramp
primary
#2E279F
secondary
#BAC062
accent
#E444DA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81