#2E4FB1#2E4FB1
#2E4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.161 H 266.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4FB1 |
|---|---|
| RGB | rgb(46, 79, 177) |
| HSL | hsl(225, 59%, 44%) |
| HSV | hsv(225, 74%, 69%) |
| CMYK | cmyk(74%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(36.64, 22.92, -55.71) |
| CIE-LCH | lch(36.64, 60.24, 292.36°) |
| OKLab | oklab(46.22% -0.0109 -0.1605) |
| OKLCH | oklch(46.22% 0.161 266.1) |
| XYZ | xyz(11.8557, 9.3459, 42.7656) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.73
Cobalt
#0047AB
ΔE00 3.50
Blue Blue
#2242C7
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 5.47
Denim Blue
#3B5B92
ΔE00 5.95
Dusk Blue
#26538D
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4FB1 #B1902E
analogous
#2E90B1 #2E4FB1 #4E2EB1
triadic
#2E4FB1 #B12E4F #4FB12E
tetradic
#2E4FB1 #B12E90 #B1902E #2EB14E
square
#2E4FB1 #B12E90 #B1902E #2EB14E
split-complementary
#2E4FB1 #B14E2E #90B12E
monochromatic
#152450 #213980 #2E4FB1 #4C6DD0 #7C95DD
Accessibility & contrast
On white
7.32
#2E4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2E4FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4FB1
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4FB1 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4fb1; /* rgb */ color: rgb(46, 79, 177); /* oklch */ color: oklch(46.2% 0.161 266.1);
Tailwind
colors: {
custom: {
50: '#797fc9',
500: '#2e4fb1',
950: '#000000',
},
}SCSS
$custom: #2e4fb1; $custom-light: #797fc9; $custom-dark: #000000;
JSON
{
"hex": "#2e4fb1",
"rgb": {
"r": 46,
"g": 79,
"b": 177
},
"hsl": {
"h": 224.885,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.4622,
"c": 0.16089,
"h": 266.1
},
"luminance": 0.09347
}Semantic roles & 50–950 ramp
primary
#2E4FB1
secondary
#C6B175
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82