#2A50B6#2A50B6
#2A50B6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.168 H 265.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B6 |
|---|---|
| RGB | rgb(42, 80, 182) |
| HSL | hsl(224, 63%, 44%) |
| HSV | hsv(224, 77%, 71%) |
| CMYK | cmyk(76.9%, 56%, 0%, 28.6%) |
| CIE-LAB | lab(37.13, 23.67, -57.88) |
| CIE-LCH | lch(37.13, 62.53, 292.24°) |
| OKLab | oklab(46.66% -0.0146 -0.167) |
| OKLCH | oklch(46.66% 0.168 265) |
| XYZ | xyz(12.2640, 9.6056, 45.4546) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.14
Cobalt
#0047AB
ΔE00 3.69
Blue Blue
#2242C7
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.94
Denim Blue
#3B5B92
ΔE00 6.09
Dusk Blue
#26538D
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B6 #B6902A
analogous
#2A96B6 #2A50B6 #4A2AB6
triadic
#2A50B6 #B62A50 #50B62A
tetradic
#2A50B6 #B62A96 #B6902A #2AB64A
square
#2A50B6 #B62A96 #B6902A #2AB64A
split-complementary
#2A50B6 #B64A2A #96B62A
monochromatic
#132453 #1F3A84 #2A50B6 #486ED5 #7A96E0
Accessibility & contrast
On white
7.19
#2A50B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2A50B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B6
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B6 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a50b6; /* rgb */ color: rgb(42, 80, 182); /* oklch */ color: oklch(46.7% 0.168 265.0);
Tailwind
colors: {
custom: {
50: '#7980cd',
500: '#2a50b6',
950: '#000000',
},
}SCSS
$custom: #2a50b6; $custom-light: #7980cd; $custom-dark: #000000;
JSON
{
"hex": "#2a50b6",
"rgb": {
"r": 42,
"g": 80,
"b": 182
},
"hsl": {
"h": 223.714,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.46658,
"c": 0.16761,
"h": 265
},
"luminance": 0.09607
}Semantic roles & 50–950 ramp
primary
#2A50B6
secondary
#C8B173
accent
#B942E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82