#2A5BB8#2A5BB8
#2A5BB8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.157 H 261.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BB8 |
|---|---|
| RGB | rgb(42, 91, 184) |
| HSL | hsl(219, 63%, 44%) |
| HSV | hsv(219, 77%, 72%) |
| CMYK | cmyk(77.2%, 50.5%, 0%, 27.8%) |
| CIE-LAB | lab(40.30, 17.19, -53.91) |
| CIE-LCH | lch(40.30, 56.58, 287.69°) |
| OKLab | oklab(49.11% -0.0227 -0.1551) |
| OKLCH | oklch(49.11% 0.157 261.7) |
| XYZ | xyz(13.3445, 11.4336, 46.8417) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.75
Sapphire
#0F52BA
ΔE00 3.01
Denim Blue
#3B5B92
ΔE00 4.78
French Blue
#436BAD
ΔE00 5.60
Denim (survey)
#3B638C
ΔE00 5.74
Dusky Blue
#475F94
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BB8 #B8872A
analogous
#2AA2B8 #2A5BB8 #402AB8
triadic
#2A5BB8 #B82A5B #5BB82A
tetradic
#2A5BB8 #B82AA2 #B8872A #2AB840
square
#2A5BB8 #B82AA2 #B8872A #2AB840
split-complementary
#2A5BB8 #B8402A #A2B82A
monochromatic
#132A54 #1F4286 #2A5BB8 #4A7AD6 #7B9EE1
Accessibility & contrast
On white
6.39
#2A5BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2A5BB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BB8
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BB8 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2166BB
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5bb8; /* rgb */ color: rgb(42, 91, 184); /* oklch */ color: oklch(49.1% 0.157 261.7);
Tailwind
colors: {
custom: {
50: '#7988ce',
500: '#2a5bb8',
950: '#000000',
},
}SCSS
$custom: #2a5bb8; $custom-light: #7988ce; $custom-dark: #000000;
JSON
{
"hex": "#2a5bb8",
"rgb": {
"r": 42,
"g": 91,
"b": 184
},
"hsl": {
"h": 219.296,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.49114,
"c": 0.15675,
"h": 261.7
},
"luminance": 0.11435
}Semantic roles & 50–950 ramp
primary
#2A5BB8
secondary
#C9AC75
accent
#AD42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82