#2E4EB8#2E4EB8
#2E4EB8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.172 H 266.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EB8 |
|---|---|
| RGB | rgb(46, 78, 184) |
| HSL | hsl(226, 60%, 45%) |
| HSV | hsv(226, 75%, 72%) |
| CMYK | cmyk(75%, 57.6%, 0%, 27.8%) |
| CIE-LAB | lab(36.91, 26.21, -59.40) |
| CIE-LCH | lch(36.91, 64.93, 293.81°) |
| OKLab | oklab(46.59% -0.0098 -0.1714) |
| OKLCH | oklch(46.59% 0.172 266.7) |
| XYZ | xyz(12.4998, 9.4889, 46.5109) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Cobalt
#0047AB
ΔE00 3.90
Blue Blue
#2242C7
ΔE00 4.27
Blue (survey)
#0343DF
ΔE00 5.78
Cobalt (survey)
#1E488F
ΔE00 6.38
Warm Blue
#4B57DB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EB8 #B8982E
analogous
#2E93B8 #2E4EB8 #532EB8
triadic
#2E4EB8 #B82E4E #4EB82E
tetradic
#2E4EB8 #B82E93 #B8982E #2EB853
square
#2E4EB8 #B82E93 #B8982E #2EB853
split-complementary
#2E4EB8 #B8532E #93B82E
monochromatic
#162456 #223987 #2E4EB8 #506ED3 #8197DF
Accessibility & contrast
On white
7.25
#2E4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2E4EB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EB8
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EB8 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e4eb8; /* rgb */ color: rgb(46, 78, 184); /* oklch */ color: oklch(46.6% 0.172 266.7);
Tailwind
colors: {
custom: {
50: '#7b7fce',
500: '#2e4eb8',
950: '#000000',
},
}SCSS
$custom: #2e4eb8; $custom-light: #7b7fce; $custom-dark: #000000;
JSON
{
"hex": "#2e4eb8",
"rgb": {
"r": 46,
"g": 78,
"b": 184
},
"hsl": {
"h": 226.087,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.46589,
"c": 0.17168,
"h": 266.7
},
"luminance": 0.0949
}Semantic roles & 50–950 ramp
primary
#2E4EB8
secondary
#C8B679
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82