#2E18B4#2E18B4
#2E18B4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.1% C 0.220 H 274.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E18B4 |
|---|---|
| RGB | rgb(46, 24, 180) |
| HSL | hsl(248, 76%, 40%) |
| HSV | hsv(248, 87%, 71%) |
| CMYK | cmyk(74.4%, 86.7%, 0%, 29.4%) |
| CIE-LAB | lab(25.35, 55.35, -76.05) |
| CIE-LCH | lch(25.35, 94.06, 306.05°) |
| OKLab | oklab(38.15% 0.0174 -0.2198) |
| OKLCH | oklch(38.15% 0.22 274.5) |
| XYZ | xyz(9.6888, 4.5284, 43.5346) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.16
Ultramarine
#2000B1
ΔE00 2.85
True Blue
#010FCC
ΔE00 3.01
Mediumblue
#0000CD
ΔE00 3.40
Cobalt Blue
#030AA7
ΔE00 3.74
Royal Blue (survey)
#0504AA
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E18B4 #9EB418
analogous
#1850B4 #2E18B4 #7C18B4
triadic
#2E18B4 #B42E18 #18B42E
tetradic
#2E18B4 #B41850 #9EB418 #18B47C
square
#2E18B4 #B41850 #9EB418 #18B47C
split-complementary
#2E18B4 #B47C18 #50B418
monochromatic
#120A48 #20117E #2E18B4 #4127E2 #715DE9
Accessibility & contrast
On white
11.02
#2E18B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E18B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E18B4
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E18B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E18B4 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e18b4; /* rgb */ color: rgb(46, 24, 180); /* oklch */ color: oklch(38.1% 0.220 274.5);
Tailwind
colors: {
custom: {
50: '#7e5dcc',
500: '#2e18b4',
950: '#000000',
},
}SCSS
$custom: #2e18b4; $custom-light: #7e5dcc; $custom-dark: #000000;
JSON
{
"hex": "#2e18b4",
"rgb": {
"r": 46,
"g": 24,
"b": 180
},
"hsl": {
"h": 248.462,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.3815,
"c": 0.22049,
"h": 274.5
},
"luminance": 0.04529
}Semantic roles & 50–950 ramp
primary
#2E18B4
secondary
#BDCD5B
accent
#F335D8
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982