#2A5BB9#2A5BB9
#2A5BB9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.158 H 261.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BB9 |
|---|---|
| RGB | rgb(42, 91, 185) |
| HSL | hsl(219, 63%, 45%) |
| HSV | hsv(219, 77%, 73%) |
| CMYK | cmyk(77.3%, 50.8%, 0%, 27.5%) |
| CIE-LAB | lab(40.37, 17.58, -54.38) |
| CIE-LCH | lch(40.37, 57.15, 287.91°) |
| OKLab | oklab(49.19% -0.0226 -0.1565) |
| OKLCH | oklch(49.19% 0.158 261.8) |
| XYZ | xyz(13.4497, 11.4756, 47.3957) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.78
Sapphire
#0F52BA
ΔE00 3.01
Denim Blue
#3B5B92
ΔE00 4.89
French Blue
#436BAD
ΔE00 5.62
Denim (survey)
#3B638C
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BB9 #B9882A
analogous
#2AA2B9 #2A5BB9 #412AB9
triadic
#2A5BB9 #B92A5B #5BB92A
tetradic
#2A5BB9 #B92AA2 #B9882A #2AB941
square
#2A5BB9 #B92AA2 #B9882A #2AB941
split-complementary
#2A5BB9 #B9412A #A2B92A
monochromatic
#132A55 #1F4287 #2A5BB9 #4A7AD6 #7C9FE1
Accessibility & contrast
On white
6.37
#2A5BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2A5BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BB9
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BB9 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5bb9; /* rgb */ color: rgb(42, 91, 185); /* oklch */ color: oklch(49.2% 0.158 261.8);
Tailwind
colors: {
custom: {
50: '#7988cf',
500: '#2a5bb9',
950: '#000000',
},
}SCSS
$custom: #2a5bb9; $custom-light: #7988cf; $custom-dark: #000000;
JSON
{
"hex": "#2a5bb9",
"rgb": {
"r": 42,
"g": 91,
"b": 185
},
"hsl": {
"h": 219.441,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.49188,
"c": 0.1581,
"h": 261.8
},
"luminance": 0.11477
}Semantic roles & 50–950 ramp
primary
#2A5BB9
secondary
#CAAD75
accent
#AE42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82