#2A5EA8#2A5EA8
#2A5EA8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.131 H 257.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EA8 |
|---|---|
| RGB | rgb(42, 94, 168) |
| HSL | hsl(215, 60%, 41%) |
| HSV | hsv(215, 75%, 66%) |
| CMYK | cmyk(75%, 44%, 0%, 34.1%) |
| CIE-LAB | lab(40.12, 9.09, -44.78) |
| CIE-LCH | lch(40.12, 45.69, 281.48°) |
| OKLab | oklab(48.64% -0.0279 -0.1282) |
| OKLCH | oklch(48.64% 0.131 257.7) |
| XYZ | xyz(12.0228, 11.3235, 38.5902) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.44
Denim Blue
#3B5B92
ΔE00 3.58
Denim (survey)
#3B638C
ΔE00 4.02
Light Navy Blue
#2E5A88
ΔE00 4.02
Mid Blue
#276AB3
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EA8 #A8742A
analogous
#2A9DA8 #2A5EA8 #352AA8
triadic
#2A5EA8 #A82A5E #5EA82A
tetradic
#2A5EA8 #A82A9D #A8742A #2AA835
square
#2A5EA8 #A82A9D #A8742A #2AA835
split-complementary
#2A5EA8 #A8352A #9DA82A
monochromatic
#122746 #1E4377 #2A5EA8 #407BCF #719DDB
Accessibility & contrast
On white
6.43
#2A5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2A5EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EA8
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EA8 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3965AB
Deuteranopia (green-blind)
#2159A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5ea8; /* rgb */ color: rgb(42, 94, 168); /* oklch */ color: oklch(48.6% 0.131 257.7);
Tailwind
colors: {
custom: {
50: '#758bc2',
500: '#2a5ea8',
950: '#000000',
},
}SCSS
$custom: #2a5ea8; $custom-light: #758bc2; $custom-dark: #000000;
JSON
{
"hex": "#2a5ea8",
"rgb": {
"r": 42,
"g": 94,
"b": 168
},
"hsl": {
"h": 215.238,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.4864,
"c": 0.13117,
"h": 257.7
},
"luminance": 0.11325
}Semantic roles & 50–950 ramp
primary
#2A5EA8
secondary
#C39F6B
accent
#A245E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B12
muted
#7B7C81