#2E4DC4#2E4DC4
#2E4DC4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.189 H 267.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DC4 |
|---|---|
| RGB | rgb(46, 77, 196) |
| HSL | hsl(228, 62%, 47%) |
| HSV | hsv(228, 77%, 77%) |
| CMYK | cmyk(76.5%, 60.7%, 0%, 23.1%) |
| CIE-LAB | lab(37.61, 31.33, -65.28) |
| CIE-LCH | lch(37.61, 72.41, 295.64°) |
| OKLab | oklab(47.41% -0.0088 -0.1887) |
| OKLCH | oklch(47.41% 0.189 267.3) |
| XYZ | xyz(13.7409, 9.8726, 53.3953) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.30
Sapphire
#0F52BA
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.24
Cobalt
#0047AB
ΔE00 5.10
Warm Blue
#4B57DB
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DC4 #C4A52E
analogous
#2E98C4 #2E4DC4 #5A2EC4
triadic
#2E4DC4 #C42E4D #4DC42E
tetradic
#2E4DC4 #C42E98 #C4A52E #2EC45A
square
#2E4DC4 #C42E98 #C4A52E #2EC45A
split-complementary
#2E4DC4 #C45A2E #98C42E
monochromatic
#172661 #223A92 #2E4DC4 #5872D8 #899CE3
Accessibility & contrast
On white
7.06
#2E4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E4DC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DC4
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DC4 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2e4dc4; /* rgb */ color: rgb(46, 77, 196); /* oklch */ color: oklch(47.4% 0.189 267.3);
Tailwind
colors: {
custom: {
50: '#7e7ed7',
500: '#2e4dc4',
950: '#000000',
},
}SCSS
$custom: #2e4dc4; $custom-light: #7e7ed7; $custom-dark: #000000;
JSON
{
"hex": "#2e4dc4",
"rgb": {
"r": 46,
"g": 77,
"b": 196
},
"hsl": {
"h": 227.6,
"s": 61.983,
"l": 47.451
},
"oklch": {
"l": 0.47414,
"c": 0.18888,
"h": 267.3
},
"luminance": 0.09874
}Semantic roles & 50–950 ramp
primary
#2E4DC4
secondary
#CDBD81
accent
#C443E5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83