#2E4DC0#2E4DC0
#2E4DC0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.184 H 267.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DC0 |
|---|---|
| RGB | rgb(46, 77, 192) |
| HSL | hsl(227, 61%, 47%) |
| HSV | hsv(227, 76%, 75%) |
| CMYK | cmyk(76%, 59.9%, 0%, 24.7%) |
| CIE-LAB | lab(37.29, 29.85, -63.48) |
| CIE-LCH | lch(37.29, 70.15, 295.18°) |
| OKLab | oklab(47.07% -0.0089 -0.1834) |
| OKLCH | oklch(47.07% 0.184 267.2) |
| XYZ | xyz(13.2917, 9.6929, 51.0294) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.44
Sapphire
#0F52BA
ΔE00 3.76
Cobalt
#0047AB
ΔE00 4.65
Blue (survey)
#0343DF
ΔE00 4.67
Warm Blue
#4B57DB
ΔE00 5.89
Ocean Blue
#4F42B5
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DC0 #C0A12E
analogous
#2E96C0 #2E4DC0 #582EC0
triadic
#2E4DC0 #C02E4D #4DC02E
tetradic
#2E4DC0 #C02E96 #C0A12E #2EC058
square
#2E4DC0 #C02E96 #C0A12E #2EC058
split-complementary
#2E4DC0 #C0582E #96C02E
monochromatic
#16255D #22398F #2E4DC0 #5570D6 #869AE2
Accessibility & contrast
On white
7.15
#2E4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2E4DC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DC0
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DC0 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e4dc0; /* rgb */ color: rgb(46, 77, 192); /* oklch */ color: oklch(47.1% 0.184 267.2);
Tailwind
colors: {
custom: {
50: '#7d7ed4',
500: '#2e4dc0',
950: '#000000',
},
}SCSS
$custom: #2e4dc0; $custom-light: #7d7ed4; $custom-dark: #000000;
JSON
{
"hex": "#2e4dc0",
"rgb": {
"r": 46,
"g": 77,
"b": 192
},
"hsl": {
"h": 227.26,
"s": 61.345,
"l": 46.667
},
"oklch": {
"l": 0.47069,
"c": 0.1836,
"h": 267.2
},
"luminance": 0.09694
}Semantic roles & 50–950 ramp
primary
#2E4DC0
secondary
#CCBB7E
accent
#C243E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83