#2A50B7#2A50B7
#2A50B7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.169 H 265.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B7 |
|---|---|
| RGB | rgb(42, 80, 183) |
| HSL | hsl(224, 63%, 44%) |
| HSV | hsv(224, 77%, 72%) |
| CMYK | cmyk(77%, 56.3%, 0%, 28.2%) |
| CIE-LAB | lab(37.20, 24.05, -58.34) |
| CIE-LCH | lch(37.20, 63.11, 292.40°) |
| OKLab | oklab(46.74% -0.0145 -0.1683) |
| OKLCH | oklch(46.74% 0.169 265.1) |
| XYZ | xyz(12.3677, 9.6471, 46.0008) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.17
Cobalt
#0047AB
ΔE00 3.76
Blue Blue
#2242C7
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 6.06
Denim Blue
#3B5B92
ΔE00 6.19
Dusk Blue
#26538D
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B7 #B7912A
analogous
#2A97B7 #2A50B7 #4B2AB7
triadic
#2A50B7 #B72A50 #50B72A
tetradic
#2A50B7 #B72A97 #B7912A #2AB74B
square
#2A50B7 #B72A97 #B7912A #2AB74B
split-complementary
#2A50B7 #B74B2A #97B72A
monochromatic
#132453 #1F3A85 #2A50B7 #496FD5 #7B96E1
Accessibility & contrast
On white
7.17
#2A50B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2A50B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B7
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B7 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a50b7; /* rgb */ color: rgb(42, 80, 183); /* oklch */ color: oklch(46.7% 0.169 265.1);
Tailwind
colors: {
custom: {
50: '#7980cd',
500: '#2a50b7',
950: '#000000',
},
}SCSS
$custom: #2a50b7; $custom-light: #7980cd; $custom-dark: #000000;
JSON
{
"hex": "#2a50b7",
"rgb": {
"r": 42,
"g": 80,
"b": 183
},
"hsl": {
"h": 223.83,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.46739,
"c": 0.16896,
"h": 265.1
},
"luminance": 0.09648
}Semantic roles & 50–950 ramp
primary
#2A50B7
secondary
#C9B274
accent
#BA42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82