#2E4EC0#2E4EC0
#2E4EC0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.182 H 267.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EC0 |
|---|---|
| RGB | rgb(46, 78, 192) |
| HSL | hsl(227, 61%, 47%) |
| HSV | hsv(227, 76%, 75%) |
| CMYK | cmyk(76%, 59.4%, 0%, 24.7%) |
| CIE-LAB | lab(37.54, 29.20, -63.06) |
| CIE-LCH | lch(37.54, 69.49, 294.85°) |
| OKLab | oklab(47.26% -0.0095 -0.1821) |
| OKLCH | oklch(47.26% 0.182 267) |
| XYZ | xyz(13.3622, 9.8339, 51.0529) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 3.75
Cobalt
#0047AB
ΔE00 4.69
Blue (survey)
#0343DF
ΔE00 4.87
Warm Blue
#4B57DB
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EC0 #C0A02E
analogous
#2E97C0 #2E4EC0 #572EC0
triadic
#2E4EC0 #C02E4E #4EC02E
tetradic
#2E4EC0 #C02E97 #C0A02E #2EC057
square
#2E4EC0 #C02E97 #C0A02E #2EC057
split-complementary
#2E4EC0 #C0572E #97C02E
monochromatic
#16265D #223A8F #2E4EC0 #5571D6 #869AE2
Accessibility & contrast
On white
7.08
#2E4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E4EC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EC0
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EC0 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e4ec0; /* rgb */ color: rgb(46, 78, 192); /* oklch */ color: oklch(47.3% 0.182 267.0);
Tailwind
colors: {
custom: {
50: '#7d7fd4',
500: '#2e4ec0',
950: '#000000',
},
}SCSS
$custom: #2e4ec0; $custom-light: #7d7fd4; $custom-dark: #000000;
JSON
{
"hex": "#2e4ec0",
"rgb": {
"r": 46,
"g": 78,
"b": 192
},
"hsl": {
"h": 226.849,
"s": 61.345,
"l": 46.667
},
"oklch": {
"l": 0.47261,
"c": 0.18239,
"h": 267
},
"luminance": 0.09835
}Semantic roles & 50–950 ramp
primary
#2E4EC0
secondary
#CCBB7E
accent
#C143E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83