#2A50B5#2A50B5
#2A50B5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.166 H 264.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B5 |
|---|---|
| RGB | rgb(42, 80, 181) |
| HSL | hsl(224, 62%, 44%) |
| HSV | hsv(224, 77%, 71%) |
| CMYK | cmyk(76.8%, 55.8%, 0%, 29%) |
| CIE-LAB | lab(37.05, 23.29, -57.41) |
| CIE-LCH | lch(37.05, 61.96, 292.08°) |
| OKLab | oklab(46.58% -0.0147 -0.1656) |
| OKLCH | oklch(46.58% 0.166 264.9) |
| XYZ | xyz(12.1610, 9.5644, 44.9123) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.12
Cobalt
#0047AB
ΔE00 3.62
Blue Blue
#2242C7
ΔE00 5.27
Cobalt (survey)
#1E488F
ΔE00 5.81
Denim Blue
#3B5B92
ΔE00 5.99
Dusk Blue
#26538D
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B5 #B58F2A
analogous
#2A95B5 #2A50B5 #492AB5
triadic
#2A50B5 #B52A50 #50B52A
tetradic
#2A50B5 #B52A95 #B58F2A #2AB549
square
#2A50B5 #B52A95 #B58F2A #2AB549
split-complementary
#2A50B5 #B5492A #95B52A
monochromatic
#132452 #1E3A83 #2A50B5 #486ED4 #7995E0
Accessibility & contrast
On white
7.21
#2A50B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2A50B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B5
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B5 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a50b5; /* rgb */ color: rgb(42, 80, 181); /* oklch */ color: oklch(46.6% 0.166 264.9);
Tailwind
colors: {
custom: {
50: '#7880cc',
500: '#2a50b5',
950: '#000000',
},
}SCSS
$custom: #2a50b5; $custom-light: #7880cc; $custom-dark: #000000;
JSON
{
"hex": "#2a50b5",
"rgb": {
"r": 42,
"g": 80,
"b": 181
},
"hsl": {
"h": 223.597,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.46576,
"c": 0.16625,
"h": 264.9
},
"luminance": 0.09566
}Semantic roles & 50–950 ramp
primary
#2A50B5
secondary
#C8B173
accent
#B942E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82