#2E4DC3#2E4DC3
#2E4DC3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.188 H 267.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DC3 |
|---|---|
| RGB | rgb(46, 77, 195) |
| HSL | hsl(228, 62%, 47%) |
| HSV | hsv(228, 76%, 76%) |
| CMYK | cmyk(76.4%, 60.5%, 0%, 23.5%) |
| CIE-LAB | lab(37.53, 30.96, -64.83) |
| CIE-LCH | lch(37.53, 71.85, 295.53°) |
| OKLab | oklab(47.33% -0.0088 -0.1873) |
| OKLCH | oklch(47.33% 0.188 267.3) |
| XYZ | xyz(13.6275, 9.8272, 52.7978) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 3.98
Blue (survey)
#0343DF
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.99
Warm Blue
#4B57DB
ΔE00 5.58
Ocean Blue
#4F42B5
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DC3 #C3A42E
analogous
#2E97C3 #2E4DC3 #5A2EC3
triadic
#2E4DC3 #C32E4D #4DC32E
tetradic
#2E4DC3 #C32E97 #C3A42E #2EC35A
square
#2E4DC3 #C32E97 #C3A42E #2EC35A
split-complementary
#2E4DC3 #C35A2E #97C32E
monochromatic
#172660 #223991 #2E4DC3 #5772D7 #889BE3
Accessibility & contrast
On white
7.08
#2E4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E4DC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DC3
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DC3 | 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)
#005FC7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e4dc3; /* rgb */ color: rgb(46, 77, 195); /* oklch */ color: oklch(47.3% 0.188 267.3);
Tailwind
colors: {
custom: {
50: '#7d7ed6',
500: '#2e4dc3',
950: '#000000',
},
}SCSS
$custom: #2e4dc3; $custom-light: #7d7ed6; $custom-dark: #000000;
JSON
{
"hex": "#2e4dc3",
"rgb": {
"r": 46,
"g": 77,
"b": 195
},
"hsl": {
"h": 227.517,
"s": 61.826,
"l": 47.255
},
"oklch": {
"l": 0.47328,
"c": 0.18756,
"h": 267.3
},
"luminance": 0.09829
}Semantic roles & 50–950 ramp
primary
#2E4DC3
secondary
#CDBD80
accent
#C343E5
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83