#2A5EA9#2A5EA9
#2A5EA9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.7% C 0.133 H 257.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EA9 |
|---|---|
| RGB | rgb(42, 94, 169) |
| HSL | hsl(215, 60%, 41%) |
| HSV | hsv(215, 75%, 66%) |
| CMYK | cmyk(75.1%, 44.4%, 0%, 33.7%) |
| CIE-LAB | lab(40.18, 9.48, -45.27) |
| CIE-LCH | lch(40.18, 46.25, 281.83°) |
| OKLab | oklab(48.71% -0.0277 -0.1296) |
| OKLCH | oklch(48.71% 0.133 257.9) |
| XYZ | xyz(12.1164, 11.3609, 39.0827) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.35
Denim Blue
#3B5B92
ΔE00 3.63
Denim (survey)
#3B638C
ΔE00 4.09
Light Navy Blue
#2E5A88
ΔE00 4.13
Mid Blue
#276AB3
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EA9 #A9752A
analogous
#2A9EA9 #2A5EA9 #362AA9
triadic
#2A5EA9 #A92A5E #5EA92A
tetradic
#2A5EA9 #A92A9E #A9752A #2AA936
square
#2A5EA9 #A92A9E #A9752A #2AA936
split-complementary
#2A5EA9 #A9362A #9EA92A
monochromatic
#122747 #1E4378 #2A5EA9 #417BD0 #729DDC
Accessibility & contrast
On white
6.42
#2A5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2A5EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EA9
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EA9 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5ea9; /* rgb */ color: rgb(42, 94, 169); /* oklch */ color: oklch(48.7% 0.133 257.9);
Tailwind
colors: {
custom: {
50: '#758bc3',
500: '#2a5ea9',
950: '#000000',
},
}SCSS
$custom: #2a5ea9; $custom-light: #758bc3; $custom-dark: #000000;
JSON
{
"hex": "#2a5ea9",
"rgb": {
"r": 42,
"g": 94,
"b": 169
},
"hsl": {
"h": 215.433,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.48707,
"c": 0.13255,
"h": 257.9
},
"luminance": 0.11362
}Semantic roles & 50–950 ramp
primary
#2A5EA9
secondary
#C39F6C
accent
#A244E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81