#2E249B#2E249B
#2E249B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.182 H 276.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E249B |
|---|---|
| RGB | rgb(46, 36, 155) |
| HSL | hsl(245, 62%, 37%) |
| HSV | hsv(245, 77%, 61%) |
| CMYK | cmyk(70.3%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(24.35, 42.17, -62.59) |
| CIE-LCH | lch(24.35, 75.47, 303.97°) |
| OKLab | oklab(36.62% 0.0198 -0.1809) |
| OKLCH | oklch(36.62% 0.182 276.2) |
| XYZ | xyz(7.6720, 4.2084, 31.4120) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.76
Indigo Blue
#3A18B1
ΔE00 3.96
Cobalt Blue
#030AA7
ΔE00 4.86
Royal Blue (survey)
#0504AA
ΔE00 5.34
Ultramarine
#2000B1
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E249B #919B24
analogous
#24569B #2E249B #6A249B
triadic
#2E249B #9B2E24 #249B2E
tetradic
#2E249B #9B2456 #919B24 #249B6A
square
#2E249B #9B2456 #919B24 #249B6A
split-complementary
#2E249B #9B6A24 #569B24
monochromatic
#110D38 #1F1869 #2E249B #3D30CD #6A5FDA
Accessibility & contrast
On white
11.40
#2E249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2E249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E249B
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E249B | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e249b; /* rgb */ color: rgb(46, 36, 155); /* oklch */ color: oklch(36.6% 0.182 276.2);
Tailwind
colors: {
custom: {
50: '#7861ba',
500: '#2e249b',
950: '#000000',
},
}SCSS
$custom: #2e249b; $custom-light: #7861ba; $custom-dark: #000000;
JSON
{
"hex": "#2e249b",
"rgb": {
"r": 46,
"g": 36,
"b": 155
},
"hsl": {
"h": 245.042,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.36617,
"c": 0.18198,
"h": 276.2
},
"luminance": 0.04209
}Semantic roles & 50–950 ramp
primary
#2E249B
secondary
#B7BF5C
accent
#E542D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981