#2A5ABB#2A5ABB
#2A5ABB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.162 H 262.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5ABB |
|---|---|
| RGB | rgb(42, 90, 187) |
| HSL | hsl(220, 63%, 45%) |
| HSV | hsv(220, 78%, 73%) |
| CMYK | cmyk(77.5%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(40.23, 19.00, -55.78) |
| CIE-LCH | lch(40.23, 58.92, 288.81°) |
| OKLab | oklab(49.13% -0.0216 -0.1606) |
| OKLCH | oklch(49.13% 0.162 262.3) |
| XYZ | xyz(13.5774, 11.3909, 48.4872) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.74
Denim
#1560BD
ΔE00 3.18
Denim Blue
#3B5B92
ΔE00 5.15
French Blue
#436BAD
ΔE00 5.99
Dusky Blue
#475F94
ΔE00 6.08
Denim (survey)
#3B638C
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5ABB #BB8B2A
analogous
#2AA3BB #2A5ABB #432ABB
triadic
#2A5ABB #BB2A5A #5ABB2A
tetradic
#2A5ABB #BB2AA3 #BB8B2A #2ABB43
square
#2A5ABB #BB2AA3 #BB8B2A #2ABB43
split-complementary
#2A5ABB #BB432A #A3BB2A
monochromatic
#142A57 #1F4289 #2A5ABB #4C7AD7 #7D9FE2
Accessibility & contrast
On white
6.41
#2A5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2A5ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5ABB
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5ABB | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1866BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5abb; /* rgb */ color: rgb(42, 90, 187); /* oklch */ color: oklch(49.1% 0.162 262.3);
Tailwind
colors: {
custom: {
50: '#7988d0',
500: '#2a5abb',
950: '#000000',
},
}SCSS
$custom: #2a5abb; $custom-light: #7988d0; $custom-dark: #000000;
JSON
{
"hex": "#2a5abb",
"rgb": {
"r": 42,
"g": 90,
"b": 187
},
"hsl": {
"h": 220.138,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.49127,
"c": 0.16204,
"h": 262.3
},
"luminance": 0.11392
}Semantic roles & 50–950 ramp
primary
#2A5ABB
secondary
#CAAF76
accent
#B041E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82