#2E4FBA#2E4FBA
#2E4FBA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.173 H 266.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4FBA |
|---|---|
| RGB | rgb(46, 79, 186) |
| HSL | hsl(226, 60%, 45%) |
| HSV | hsv(226, 75%, 73%) |
| CMYK | cmyk(75.3%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(37.33, 26.30, -59.89) |
| CIE-LCH | lch(37.33, 65.42, 293.71°) |
| OKLab | oklab(46.95% -0.0104 -0.1728) |
| OKLCH | oklch(46.95% 0.173 266.5) |
| XYZ | xyz(12.7825, 9.7166, 47.6467) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.92
Cobalt
#0047AB
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 4.43
Blue (survey)
#0343DF
ΔE00 5.74
Warm Blue
#4B57DB
ΔE00 6.40
Cobalt (survey)
#1E488F
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4FBA #BA992E
analogous
#2E95BA #2E4FBA #532EBA
triadic
#2E4FBA #BA2E4F #4FBA2E
tetradic
#2E4FBA #BA2E95 #BA992E #2EBA53
square
#2E4FBA #BA2E95 #BA992E #2EBA53
split-complementary
#2E4FBA #BA532E #95BA2E
monochromatic
#162558 #223A89 #2E4FBA #5170D4 #8298E0
Accessibility & contrast
On white
7.13
#2E4FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2E4FBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4FBA
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4FBA | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e4fba; /* rgb */ color: rgb(46, 79, 186); /* oklch */ color: oklch(47.0% 0.173 266.5);
Tailwind
colors: {
custom: {
50: '#7b7fd0',
500: '#2e4fba',
950: '#000000',
},
}SCSS
$custom: #2e4fba; $custom-light: #7b7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2e4fba",
"rgb": {
"r": 46,
"g": 79,
"b": 186
},
"hsl": {
"h": 225.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.46953,
"c": 0.17314,
"h": 266.5
},
"luminance": 0.09718
}Semantic roles & 50–950 ramp
primary
#2E4FBA
secondary
#C9B77B
accent
#BE44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82