#2A5EA7#2A5EA7
#2A5EA7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.130 H 257.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EA7 |
|---|---|
| RGB | rgb(42, 94, 167) |
| HSL | hsl(215, 60%, 41%) |
| HSV | hsv(215, 75%, 65%) |
| CMYK | cmyk(74.9%, 43.7%, 0%, 34.5%) |
| CIE-LAB | lab(40.06, 8.71, -44.28) |
| CIE-LCH | lch(40.06, 45.13, 281.13°) |
| OKLab | oklab(48.57% -0.0281 -0.1267) |
| OKLCH | oklch(48.57% 0.13 257.5) |
| XYZ | xyz(11.9300, 11.2863, 38.1015) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.52
Denim Blue
#3B5B92
ΔE00 3.52
Light Navy Blue
#2E5A88
ΔE00 3.91
Denim (survey)
#3B638C
ΔE00 3.94
Mid Blue
#276AB3
ΔE00 4.58
Dusk Blue
#26538D
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EA7 #A7732A
analogous
#2A9CA7 #2A5EA7 #342AA7
triadic
#2A5EA7 #A72A5E #5EA72A
tetradic
#2A5EA7 #A72A9C #A7732A #2AA734
square
#2A5EA7 #A72A9C #A7732A #2AA734
split-complementary
#2A5EA7 #A7342A #9CA72A
monochromatic
#112745 #1E4276 #2A5EA7 #3F7BCF #709DDB
Accessibility & contrast
On white
6.45
#2A5EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2A5EA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EA7
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EA7 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#2359A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5ea7; /* rgb */ color: rgb(42, 94, 167); /* oklch */ color: oklch(48.6% 0.130 257.5);
Tailwind
colors: {
custom: {
50: '#758bc1',
500: '#2a5ea7',
950: '#000000',
},
}SCSS
$custom: #2a5ea7; $custom-light: #758bc1; $custom-dark: #000000;
JSON
{
"hex": "#2a5ea7",
"rgb": {
"r": 42,
"g": 94,
"b": 167
},
"hsl": {
"h": 215.04,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.48572,
"c": 0.12979,
"h": 257.5
},
"luminance": 0.11288
}Semantic roles & 50–950 ramp
primary
#2A5EA7
secondary
#C29E6B
accent
#A145E3
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81