#2E4DBF#2E4DBF
#2E4DBF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.182 H 267.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DBF |
|---|---|
| RGB | rgb(46, 77, 191) |
| HSL | hsl(227, 61%, 46%) |
| HSV | hsv(227, 76%, 75%) |
| CMYK | cmyk(75.9%, 59.7%, 0%, 25.1%) |
| CIE-LAB | lab(37.20, 29.48, -63.03) |
| CIE-LCH | lch(37.20, 69.58, 295.07°) |
| OKLab | oklab(46.98% -0.0089 -0.1821) |
| OKLCH | oklch(46.98% 0.182 267.2) |
| XYZ | xyz(13.1813, 9.6487, 50.4478) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 3.69
Cobalt
#0047AB
ΔE00 4.55
Blue (survey)
#0343DF
ΔE00 4.78
Warm Blue
#4B57DB
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DBF #BFA02E
analogous
#2E96BF #2E4DBF #572EBF
triadic
#2E4DBF #BF2E4D #4DBF2E
tetradic
#2E4DBF #BF2E96 #BFA02E #2EBF57
square
#2E4DBF #BF2E96 #BFA02E #2EBF57
split-complementary
#2E4DBF #BF572E #96BF2E
monochromatic
#16255C #22398E #2E4DBF #5470D6 #8699E2
Accessibility & contrast
On white
7.17
#2E4DBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2E4DBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DBF
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DBF | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e4dbf; /* rgb */ color: rgb(46, 77, 191); /* oklch */ color: oklch(47.0% 0.182 267.2);
Tailwind
colors: {
custom: {
50: '#7c7ed3',
500: '#2e4dbf',
950: '#000000',
},
}SCSS
$custom: #2e4dbf; $custom-light: #7c7ed3; $custom-dark: #000000;
JSON
{
"hex": "#2e4dbf",
"rgb": {
"r": 46,
"g": 77,
"b": 191
},
"hsl": {
"h": 227.172,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.46984,
"c": 0.18228,
"h": 267.2
},
"luminance": 0.0965
}Semantic roles & 50–950 ramp
primary
#2E4DBF
secondary
#CBBB7E
accent
#C244E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83