#2E5EA5#2E5EA5
#2E5EA5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.126 H 258.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5EA5 |
|---|---|
| RGB | rgb(46, 94, 165) |
| HSL | hsl(216, 56%, 41%) |
| HSV | hsv(216, 72%, 65%) |
| CMYK | cmyk(72.1%, 43%, 0%, 35.3%) |
| CIE-LAB | lab(40.08, 8.52, -43.05) |
| CIE-LCH | lch(40.08, 43.88, 281.20°) |
| OKLab | oklab(48.59% -0.0256 -0.123) |
| OKLCH | oklch(48.59% 0.126 258.2) |
| XYZ | xyz(11.9185, 11.3016, 37.1433) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.84
Denim Blue
#3B5B92
ΔE00 3.13
Denim (survey)
#3B638C
ΔE00 3.83
Light Navy Blue
#2E5A88
ΔE00 3.84
Dusk Blue
#26538D
ΔE00 4.51
Dusky Blue
#475F94
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5EA5 #A5752E
analogous
#2E9AA5 #2E5EA5 #3A2EA5
triadic
#2E5EA5 #A52E5E #5EA52E
tetradic
#2E5EA5 #A52E9A #A5752E #2EA53A
square
#2E5EA5 #A52E9A #A5752E #2EA53A
split-complementary
#2E5EA5 #A53A2E #9AA52E
monochromatic
#132745 #214375 #2E5EA5 #457BCB #759DD8
Accessibility & contrast
On white
6.44
#2E5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2E5EA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5EA5
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5EA5 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C64A8
Deuteranopia (green-blind)
#2759A4
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e5ea5; /* rgb */ color: rgb(46, 94, 165); /* oklch */ color: oklch(48.6% 0.126 258.2);
Tailwind
colors: {
custom: {
50: '#768bc0',
500: '#2e5ea5',
950: '#000000',
},
}SCSS
$custom: #2e5ea5; $custom-light: #768bc0; $custom-dark: #000000;
JSON
{
"hex": "#2e5ea5",
"rgb": {
"r": 46,
"g": 94,
"b": 165
},
"hsl": {
"h": 215.798,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.48593,
"c": 0.12567,
"h": 258.2
},
"luminance": 0.11303
}Semantic roles & 50–950 ramp
primary
#2E5EA5
secondary
#C09F6F
accent
#A348E0
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81