#2E218F#2E218F
#2E218F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.170 H 278.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E218F |
|---|---|
| RGB | rgb(46, 33, 143) |
| HSL | hsl(247, 63%, 35%) |
| HSV | hsv(247, 77%, 56%) |
| CMYK | cmyk(67.8%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(22.48, 39.92, -58.26) |
| CIE-LCH | lch(22.48, 70.63, 304.42°) |
| OKLab | oklab(34.92% 0.0243 -0.1683) |
| OKLCH | oklch(34.92% 0.17 278.2) |
| XYZ | xyz(6.6269, 3.6512, 26.3368) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.22
Cobalt Blue
#030AA7
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.21
Midnight Blue
#191970
ΔE00 5.41
Indigo (survey)
#380282
ΔE00 5.59
Royal Blue (survey)
#0504AA
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E218F #828F21
analogous
#214B8F #2E218F #65218F
triadic
#2E218F #8F2E21 #218F2E
tetradic
#2E218F #8F214B #828F21 #218F65
square
#2E218F #8F214B #828F21 #218F65
split-complementary
#2E218F #8F6521 #4B8F21
monochromatic
#0E0A2C #1E165D #2E218F #3E2CC1 #6353D7
Accessibility & contrast
On white
12.14
#2E218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2E218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E218F
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E218F | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e218f; /* rgb */ color: rgb(46, 33, 143); /* oklch */ color: oklch(34.9% 0.170 278.2);
Tailwind
colors: {
custom: {
50: '#755fb1',
500: '#2e218f',
950: '#000000',
},
}SCSS
$custom: #2e218f; $custom-light: #755fb1; $custom-dark: #000000;
JSON
{
"hex": "#2e218f",
"rgb": {
"r": 46,
"g": 33,
"b": 143
},
"hsl": {
"h": 247.091,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.34919,
"c": 0.17003,
"h": 278.2
},
"luminance": 0.03652
}Semantic roles & 50–950 ramp
primary
#2E218F
secondary
#AEBB51
accent
#E642D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980