#2E4EB9#2E4EB9
#2E4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.173 H 266.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EB9 |
|---|---|
| RGB | rgb(46, 78, 185) |
| HSL | hsl(226, 60%, 45%) |
| HSV | hsv(226, 75%, 73%) |
| CMYK | cmyk(75.1%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(36.99, 26.59, -59.86) |
| CIE-LCH | lch(36.99, 65.50, 293.95°) |
| OKLab | oklab(46.67% -0.0097 -0.1727) |
| OKLCH | oklch(46.67% 0.173 266.8) |
| XYZ | xyz(12.6050, 9.5310, 47.0649) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.12
Cobalt
#0047AB
ΔE00 3.99
Blue Blue
#2242C7
ΔE00 4.19
Blue (survey)
#0343DF
ΔE00 5.66
Cobalt (survey)
#1E488F
ΔE00 6.51
Warm Blue
#4B57DB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EB9 #B9992E
analogous
#2E93B9 #2E4EB9 #532EB9
triadic
#2E4EB9 #B92E4E #4EB92E
tetradic
#2E4EB9 #B92E93 #B9992E #2EB953
square
#2E4EB9 #B92E93 #B9992E #2EB953
split-complementary
#2E4EB9 #B9532E #93B92E
monochromatic
#162557 #223988 #2E4EB9 #516FD4 #8297E0
Accessibility & contrast
On white
7.23
#2E4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2E4EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EB9
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EB9 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e4eb9; /* rgb */ color: rgb(46, 78, 185); /* oklch */ color: oklch(46.7% 0.173 266.8);
Tailwind
colors: {
custom: {
50: '#7b7fcf',
500: '#2e4eb9',
950: '#000000',
},
}SCSS
$custom: #2e4eb9; $custom-light: #7b7fcf; $custom-dark: #000000;
JSON
{
"hex": "#2e4eb9",
"rgb": {
"r": 46,
"g": 78,
"b": 185
},
"hsl": {
"h": 226.187,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.46672,
"c": 0.17302,
"h": 266.8
},
"luminance": 0.09532
}Semantic roles & 50–950 ramp
primary
#2E4EB9
secondary
#C9B77A
accent
#BF44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82