#2A5EB4#2A5EB4
#2A5EB4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.148 H 260.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EB4 |
|---|---|
| RGB | rgb(42, 94, 180) |
| HSL | hsl(217, 62%, 44%) |
| HSV | hsv(217, 77%, 71%) |
| CMYK | cmyk(76.7%, 47.8%, 0%, 29.4%) |
| CIE-LAB | lab(40.88, 13.70, -50.63) |
| CIE-LCH | lch(40.88, 52.45, 285.14°) |
| OKLab | oklab(49.47% -0.0257 -0.1454) |
| OKLCH | oklch(49.47% 0.148 260) |
| XYZ | xyz(13.1928, 11.7914, 44.7518) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.80
Sapphire
#0F52BA
ΔE00 4.06
Denim Blue
#3B5B92
ΔE00 4.49
French Blue
#436BAD
ΔE00 4.66
Mid Blue
#276AB3
ΔE00 4.79
Denim (survey)
#3B638C
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EB4 #B4802A
analogous
#2AA3B4 #2A5EB4 #3B2AB4
triadic
#2A5EB4 #B42A5E #5EB42A
tetradic
#2A5EB4 #B42AA3 #B4802A #2AB43B
square
#2A5EB4 #B42AA3 #B4802A #2AB43B
split-complementary
#2A5EB4 #B43B2A #A3B42A
monochromatic
#132A51 #1E4482 #2A5EB4 #477CD4 #79A0E0
Accessibility & contrast
On white
6.25
#2A5EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2A5EB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EB4
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EB4 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#035AB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a5eb4; /* rgb */ color: rgb(42, 94, 180); /* oklch */ color: oklch(49.5% 0.148 260.0);
Tailwind
colors: {
custom: {
50: '#788bcb',
500: '#2a5eb4',
950: '#000000',
},
}SCSS
$custom: #2a5eb4; $custom-light: #788bcb; $custom-dark: #000000;
JSON
{
"hex": "#2a5eb4",
"rgb": {
"r": 42,
"g": 94,
"b": 180
},
"hsl": {
"h": 217.391,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.49473,
"c": 0.14763,
"h": 260
},
"luminance": 0.11793
}Semantic roles & 50–950 ramp
primary
#2A5EB4
secondary
#C8A772
accent
#A843E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82