#2E4FB2#2E4FB2
#2E4FB2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.162 H 266.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4FB2 |
|---|---|
| RGB | rgb(46, 79, 178) |
| HSL | hsl(225, 59%, 44%) |
| HSV | hsv(225, 74%, 70%) |
| CMYK | cmyk(74.2%, 55.6%, 0%, 30.2%) |
| CIE-LAB | lab(36.72, 23.30, -56.18) |
| CIE-LCH | lch(36.72, 60.81, 292.52°) |
| OKLab | oklab(46.3% -0.0108 -0.1619) |
| OKLCH | oklch(46.3% 0.162 266.2) |
| XYZ | xyz(11.9558, 9.3859, 43.2924) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.73
Cobalt
#0047AB
ΔE00 3.55
Blue Blue
#2242C7
ΔE00 5.11
Cobalt (survey)
#1E488F
ΔE00 5.60
Denim Blue
#3B5B92
ΔE00 6.04
Dusk Blue
#26538D
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4FB2 #B2912E
analogous
#2E91B2 #2E4FB2 #4F2EB2
triadic
#2E4FB2 #B22E4F #4FB22E
tetradic
#2E4FB2 #B22E91 #B2912E #2EB24F
square
#2E4FB2 #B22E91 #B2912E #2EB24F
split-complementary
#2E4FB2 #B24F2E #91B22E
monochromatic
#152451 #213981 #2E4FB2 #4C6DD1 #7D95DD
Accessibility & contrast
On white
7.30
#2E4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2E4FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4FB2
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4FB2 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4fb2; /* rgb */ color: rgb(46, 79, 178); /* oklch */ color: oklch(46.3% 0.162 266.2);
Tailwind
colors: {
custom: {
50: '#797fca',
500: '#2e4fb2',
950: '#000000',
},
}SCSS
$custom: #2e4fb2; $custom-light: #797fca; $custom-dark: #000000;
JSON
{
"hex": "#2e4fb2",
"rgb": {
"r": 46,
"g": 79,
"b": 178
},
"hsl": {
"h": 225,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.463,
"c": 0.16226,
"h": 266.2
},
"luminance": 0.09387
}Semantic roles & 50–950 ramp
primary
#2E4FB2
secondary
#C6B276
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82