#2A5EB8#2A5EB8
#2A5EB8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.153 H 260.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EB8 |
|---|---|
| RGB | rgb(42, 94, 184) |
| HSL | hsl(218, 63%, 44%) |
| HSV | hsv(218, 77%, 72%) |
| CMYK | cmyk(77.2%, 48.9%, 0%, 27.8%) |
| CIE-LAB | lab(41.15, 15.23, -52.54) |
| CIE-LCH | lch(41.15, 54.71, 286.17°) |
| OKLab | oklab(49.76% -0.0251 -0.151) |
| OKLCH | oklch(49.76% 0.153 260.6) |
| XYZ | xyz(13.6061, 11.9568, 46.9289) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.84
Sapphire
#0F52BA
ΔE00 3.97
French Blue
#436BAD
ΔE00 4.70
Denim Blue
#3B5B92
ΔE00 4.88
Mid Blue
#276AB3
ΔE00 4.95
Denim (survey)
#3B638C
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EB8 #B8842A
analogous
#2AA5B8 #2A5EB8 #3D2AB8
triadic
#2A5EB8 #B82A5E #5EB82A
tetradic
#2A5EB8 #B82AA5 #B8842A #2AB83D
square
#2A5EB8 #B82AA5 #B8842A #2AB83D
split-complementary
#2A5EB8 #B83D2A #A5B82A
monochromatic
#132B54 #1F4586 #2A5EB8 #4A7DD6 #7BA1E1
Accessibility & contrast
On white
6.19
#2A5EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2A5EB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EB8
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EB8 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A68BB
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a5eb8; /* rgb */ color: rgb(42, 94, 184); /* oklch */ color: oklch(49.8% 0.153 260.6);
Tailwind
colors: {
custom: {
50: '#788bce',
500: '#2a5eb8',
950: '#000000',
},
}SCSS
$custom: #2a5eb8; $custom-light: #788bce; $custom-dark: #000000;
JSON
{
"hex": "#2a5eb8",
"rgb": {
"r": 42,
"g": 94,
"b": 184
},
"hsl": {
"h": 218.028,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.49761,
"c": 0.15309,
"h": 260.6
},
"luminance": 0.11958
}Semantic roles & 50–950 ramp
primary
#2A5EB8
secondary
#C9AA75
accent
#AA42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82