#2A5EB1#2A5EB1
#2A5EB1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.144 H 259.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EB1 |
|---|---|
| RGB | rgb(42, 94, 177) |
| HSL | hsl(217, 62%, 43%) |
| HSV | hsv(217, 76%, 69%) |
| CMYK | cmyk(76.3%, 46.9%, 0%, 30.6%) |
| CIE-LAB | lab(40.69, 12.55, -49.18) |
| CIE-LCH | lch(40.69, 50.75, 284.31°) |
| OKLab | oklab(49.26% -0.0262 -0.1411) |
| OKLCH | oklch(49.26% 0.144 259.5) |
| XYZ | xyz(12.8905, 11.6705, 43.1597) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.87
Sapphire
#0F52BA
ΔE00 4.17
Denim Blue
#3B5B92
ΔE00 4.22
French Blue
#436BAD
ΔE00 4.66
Mid Blue
#276AB3
ΔE00 4.70
Denim (survey)
#3B638C
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EB1 #B17D2A
analogous
#2AA1B1 #2A5EB1 #392AB1
triadic
#2A5EB1 #B12A5E #5EB12A
tetradic
#2A5EB1 #B12AA1 #B17D2A #2AB139
square
#2A5EB1 #B12AA1 #B17D2A #2AB139
split-complementary
#2A5EB1 #B1392A #A1B12A
monochromatic
#13294E #1E4480 #2A5EB1 #457CD3 #779FDF
Accessibility & contrast
On white
6.30
#2A5EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2A5EB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EB1
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EB1 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B4
Deuteranopia (green-blind)
#0F5AAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a5eb1; /* rgb */ color: rgb(42, 94, 177); /* oklch */ color: oklch(49.3% 0.144 259.5);
Tailwind
colors: {
custom: {
50: '#778bc9',
500: '#2a5eb1',
950: '#000000',
},
}SCSS
$custom: #2a5eb1; $custom-light: #778bc9; $custom-dark: #000000;
JSON
{
"hex": "#2a5eb1",
"rgb": {
"r": 42,
"g": 94,
"b": 177
},
"hsl": {
"h": 216.889,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.4926,
"c": 0.14353,
"h": 259.5
},
"luminance": 0.11672
}Semantic roles & 50–950 ramp
primary
#2A5EB1
secondary
#C6A570
accent
#A643E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82