#2A50B9#2A50B9
#2A50B9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.172 H 265.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B9 |
|---|---|
| RGB | rgb(42, 80, 185) |
| HSL | hsl(224, 63%, 45%) |
| HSV | hsv(224, 77%, 73%) |
| CMYK | cmyk(77.3%, 56.8%, 0%, 27.5%) |
| CIE-LAB | lab(37.36, 24.81, -59.27) |
| CIE-LCH | lch(37.36, 64.26, 292.72°) |
| OKLab | oklab(46.9% -0.0144 -0.171) |
| OKLCH | oklch(46.9% 0.172 265.2) |
| XYZ | xyz(12.5774, 9.7309, 47.1049) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.25
Cobalt
#0047AB
ΔE00 3.92
Blue Blue
#2242C7
ΔE00 4.94
Blue (survey)
#0343DF
ΔE00 6.15
Cobalt (survey)
#1E488F
ΔE00 6.32
Denim Blue
#3B5B92
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B9 #B9932A
analogous
#2A98B9 #2A50B9 #4C2AB9
triadic
#2A50B9 #B92A50 #50B92A
tetradic
#2A50B9 #B92A98 #B9932A #2AB94C
square
#2A50B9 #B92A98 #B9932A #2AB94C
split-complementary
#2A50B9 #B94C2A #98B92A
monochromatic
#132555 #1F3A87 #2A50B9 #4A6FD6 #7C97E1
Accessibility & contrast
On white
7.13
#2A50B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2A50B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B9
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B9 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a50b9; /* rgb */ color: rgb(42, 80, 185); /* oklch */ color: oklch(46.9% 0.172 265.2);
Tailwind
colors: {
custom: {
50: '#7980cf',
500: '#2a50b9',
950: '#000000',
},
}SCSS
$custom: #2a50b9; $custom-light: #7980cf; $custom-dark: #000000;
JSON
{
"hex": "#2a50b9",
"rgb": {
"r": 42,
"g": 80,
"b": 185
},
"hsl": {
"h": 224.056,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.46903,
"c": 0.17166,
"h": 265.2
},
"luminance": 0.09732
}Semantic roles & 50–950 ramp
primary
#2A50B9
secondary
#CAB375
accent
#BA42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82