#2E4CBA#2E4CBA
#2E4CBA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.177 H 267.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4CBA |
|---|---|
| RGB | rgb(46, 76, 186) |
| HSL | hsl(227, 60%, 45%) |
| HSV | hsv(227, 75%, 73%) |
| CMYK | cmyk(75.3%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.54, 28.27, -61.17) |
| CIE-LCH | lch(36.54, 67.39, 294.80°) |
| OKLab | oklab(46.37% -0.0083 -0.1766) |
| OKLCH | oklch(46.37% 0.177 267.3) |
| XYZ | xyz(12.5710, 9.2935, 47.5762) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.52
Sapphire
#0F52BA
ΔE00 3.68
Cobalt
#0047AB
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 6.13
Sapphire (survey)
#2138AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4CBA #BA9C2E
analogous
#2E92BA #2E4CBA #562EBA
triadic
#2E4CBA #BA2E4C #4CBA2E
tetradic
#2E4CBA #BA2E92 #BA9C2E #2EBA56
square
#2E4CBA #BA2E92 #BA9C2E #2EBA56
split-complementary
#2E4CBA #BA562E #92BA2E
monochromatic
#162458 #223889 #2E4CBA #516DD4 #8296E0
Accessibility & contrast
On white
7.35
#2E4CBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2E4CBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4CBA
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4CBA | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4cba; /* rgb */ color: rgb(46, 76, 186); /* oklch */ color: oklch(46.4% 0.177 267.3);
Tailwind
colors: {
custom: {
50: '#7b7dd0',
500: '#2e4cba',
950: '#000000',
},
}SCSS
$custom: #2e4cba; $custom-light: #7b7dd0; $custom-dark: #000000;
JSON
{
"hex": "#2e4cba",
"rgb": {
"r": 46,
"g": 76,
"b": 186
},
"hsl": {
"h": 227.143,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.46365,
"c": 0.17682,
"h": 267.3
},
"luminance": 0.09295
}Semantic roles & 50–950 ramp
primary
#2E4CBA
secondary
#C9B87B
accent
#C144E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82