#2A5BBA#2A5BBA
#2A5BBA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.159 H 261.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BBA |
|---|---|
| RGB | rgb(42, 91, 186) |
| HSL | hsl(220, 63%, 45%) |
| HSV | hsv(220, 77%, 73%) |
| CMYK | cmyk(77.4%, 51.1%, 0%, 27.1%) |
| CIE-LAB | lab(40.44, 17.96, -54.86) |
| CIE-LCH | lch(40.44, 57.72, 288.13°) |
| OKLab | oklab(49.26% -0.0225 -0.1579) |
| OKLCH | oklch(49.26% 0.159 261.9) |
| XYZ | xyz(13.5557, 11.5180, 47.9536) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 3.01
Denim Blue
#3B5B92
ΔE00 5.01
French Blue
#436BAD
ΔE00 5.65
Denim (survey)
#3B638C
ΔE00 5.90
Dusky Blue
#475F94
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BBA #BA892A
analogous
#2AA3BA #2A5BBA #412ABA
triadic
#2A5BBA #BA2A5B #5BBA2A
tetradic
#2A5BBA #BA2AA3 #BA892A #2ABA41
square
#2A5BBA #BA2AA3 #BA892A #2ABA41
split-complementary
#2A5BBA #BA412A #A3BA2A
monochromatic
#132A56 #1F4388 #2A5BBA #4B7AD6 #7D9FE2
Accessibility & contrast
On white
6.36
#2A5BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2A5BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BBA
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BBA | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5bba; /* rgb */ color: rgb(42, 91, 186); /* oklch */ color: oklch(49.3% 0.159 261.9);
Tailwind
colors: {
custom: {
50: '#7988cf',
500: '#2a5bba',
950: '#000000',
},
}SCSS
$custom: #2a5bba; $custom-light: #7988cf; $custom-dark: #000000;
JSON
{
"hex": "#2a5bba",
"rgb": {
"r": 42,
"g": 91,
"b": 186
},
"hsl": {
"h": 219.583,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.49263,
"c": 0.15946,
"h": 261.9
},
"luminance": 0.1152
}Semantic roles & 50–950 ramp
primary
#2A5BBA
secondary
#CAAD76
accent
#AE42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82