#2A50B2#2A50B2
#2A50B2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.162 H 264.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B2 |
|---|---|
| RGB | rgb(42, 80, 178) |
| HSL | hsl(223, 62%, 43%) |
| HSV | hsv(223, 76%, 70%) |
| CMYK | cmyk(76.4%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(36.82, 22.14, -56.01) |
| CIE-LCH | lch(36.82, 60.23, 291.57°) |
| OKLab | oklab(46.33% -0.0149 -0.1615) |
| OKLCH | oklch(46.33% 0.162 264.7) |
| XYZ | xyz(11.8565, 9.4426, 43.3086) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Cobalt
#0047AB
ΔE00 3.43
Cobalt (survey)
#1E488F
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.55
Dusk Blue
#26538D
ΔE00 5.64
Denim Blue
#3B5B92
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B2 #B28C2A
analogous
#2A94B2 #2A50B2 #482AB2
triadic
#2A50B2 #B22A50 #50B22A
tetradic
#2A50B2 #B22A94 #B28C2A #2AB248
square
#2A50B2 #B22A94 #B28C2A #2AB248
split-complementary
#2A50B2 #B2482A #94B22A
monochromatic
#13234F #1E3A80 #2A50B2 #466DD3 #7794DF
Accessibility & contrast
On white
7.27
#2A50B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2A50B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B2
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B2 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a50b2; /* rgb */ color: rgb(42, 80, 178); /* oklch */ color: oklch(46.3% 0.162 264.7);
Tailwind
colors: {
custom: {
50: '#7880ca',
500: '#2a50b2',
950: '#000000',
},
}SCSS
$custom: #2a50b2; $custom-light: #7880ca; $custom-dark: #000000;
JSON
{
"hex": "#2a50b2",
"rgb": {
"r": 42,
"g": 80,
"b": 178
},
"hsl": {
"h": 223.235,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.46334,
"c": 0.16215,
"h": 264.7
},
"luminance": 0.09444
}Semantic roles & 50–950 ramp
primary
#2A50B2
secondary
#C7AF71
accent
#B843E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82