#2E5EA8#2E5EA8
#2E5EA8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.130 H 258.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EA8 |
|---|---|
| RGB | rgb(46, 94, 168) |
| HSL | hsl(216, 57%, 42%) |
| HSV | hsv(216, 73%, 66%) |
| CMYK | cmyk(72.6%, 44%, 0%, 34.1%) |
| CIE-LAB | lab(40.27, 9.66, -44.54) |
| CIE-LCH | lch(40.27, 45.57, 282.23°) |
| OKLab | oklab(48.79% -0.025 -0.1274) |
| OKLCH | oklch(48.79% 0.13 258.9) |
| XYZ | xyz(12.1947, 11.4121, 38.5983) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.62
Denim Blue
#3B5B92
ΔE00 3.33
Denim (survey)
#3B638C
ΔE00 4.07
Light Navy Blue
#2E5A88
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.59
Dusky Blue
#475F94
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EA8 #A8782E
analogous
#2E9BA8 #2E5EA8 #3B2EA8
triadic
#2E5EA8 #A82E5E #5EA82E
tetradic
#2E5EA8 #A82E9B #A8782E #2EA83B
square
#2E5EA8 #A82E9B #A8782E #2EA83B
split-complementary
#2E5EA8 #A83B2E #9BA82E
monochromatic
#142848 #214378 #2E5EA8 #477BCD #779EDA
Accessibility & contrast
On white
6.40
#2E5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2E5EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EA8
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EA8 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#235AA6
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2e5ea8; /* rgb */ color: rgb(46, 94, 168); /* oklch */ color: oklch(48.8% 0.130 258.9);
Tailwind
colors: {
custom: {
50: '#768bc2',
500: '#2e5ea8',
950: '#000000',
},
}SCSS
$custom: #2e5ea8; $custom-light: #768bc2; $custom-dark: #000000;
JSON
{
"hex": "#2e5ea8",
"rgb": {
"r": 46,
"g": 94,
"b": 168
},
"hsl": {
"h": 216.393,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.48793,
"c": 0.12984,
"h": 258.9
},
"luminance": 0.11413
}Semantic roles & 50–950 ramp
primary
#2E5EA8
secondary
#C2A270
accent
#A448E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81