#2E4EB7#2E4EB7
#2E4EB7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.170 H 266.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EB7 |
|---|---|
| RGB | rgb(46, 78, 183) |
| HSL | hsl(226, 60%, 45%) |
| HSV | hsv(226, 75%, 72%) |
| CMYK | cmyk(74.9%, 57.4%, 0%, 28.2%) |
| CIE-LAB | lab(36.83, 25.84, -58.94) |
| CIE-LCH | lch(36.83, 64.35, 293.67°) |
| OKLab | oklab(46.51% -0.0098 -0.17) |
| OKLCH | oklch(46.51% 0.17 266.7) |
| XYZ | xyz(12.3954, 9.4472, 45.9608) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.04
Cobalt
#0047AB
ΔE00 3.82
Blue Blue
#2242C7
ΔE00 4.36
Blue (survey)
#0343DF
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EB7 #B7972E
analogous
#2E93B7 #2E4EB7 #522EB7
triadic
#2E4EB7 #B72E4E #4EB72E
tetradic
#2E4EB7 #B72E93 #B7972E #2EB752
square
#2E4EB7 #B72E93 #B7972E #2EB752
split-complementary
#2E4EB7 #B7522E #93B72E
monochromatic
#152455 #223986 #2E4EB7 #4F6ED3 #8096DF
Accessibility & contrast
On white
7.27
#2E4EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2E4EB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EB7
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EB7 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e4eb7; /* rgb */ color: rgb(46, 78, 183); /* oklch */ color: oklch(46.5% 0.170 266.7);
Tailwind
colors: {
custom: {
50: '#7a7fcd',
500: '#2e4eb7',
950: '#000000',
},
}SCSS
$custom: #2e4eb7; $custom-light: #7a7fcd; $custom-dark: #000000;
JSON
{
"hex": "#2e4eb7",
"rgb": {
"r": 46,
"g": 78,
"b": 183
},
"hsl": {
"h": 225.985,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.46507,
"c": 0.17032,
"h": 266.7
},
"luminance": 0.09449
}Semantic roles & 50–950 ramp
primary
#2E4EB7
secondary
#C8B679
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82