#2A50B4#2A50B4
#2A50B4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.165 H 264.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B4 |
|---|---|
| RGB | rgb(42, 80, 180) |
| HSL | hsl(223, 62%, 44%) |
| HSV | hsv(223, 77%, 71%) |
| CMYK | cmyk(76.7%, 55.6%, 0%, 29.4%) |
| CIE-LAB | lab(36.97, 22.91, -56.95) |
| CIE-LCH | lch(36.97, 61.38, 291.91°) |
| OKLab | oklab(46.5% -0.0147 -0.1642) |
| OKLCH | oklch(46.5% 0.165 264.9) |
| XYZ | xyz(12.0588, 9.5235, 44.3738) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Cobalt
#0047AB
ΔE00 3.55
Blue Blue
#2242C7
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 5.68
Dusk Blue
#26538D
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B4 #B48E2A
analogous
#2A95B4 #2A50B4 #492AB4
triadic
#2A50B4 #B42A50 #50B42A
tetradic
#2A50B4 #B42A95 #B48E2A #2AB449
square
#2A50B4 #B42A95 #B48E2A #2AB449
split-complementary
#2A50B4 #B4492A #95B42A
monochromatic
#132451 #1E3A82 #2A50B4 #476ED4 #7995E0
Accessibility & contrast
On white
7.23
#2A50B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2A50B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B4
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B4 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a50b4; /* rgb */ color: rgb(42, 80, 180); /* oklch */ color: oklch(46.5% 0.165 264.9);
Tailwind
colors: {
custom: {
50: '#7880cb',
500: '#2a50b4',
950: '#000000',
},
}SCSS
$custom: #2a50b4; $custom-light: #7880cb; $custom-dark: #000000;
JSON
{
"hex": "#2a50b4",
"rgb": {
"r": 42,
"g": 80,
"b": 180
},
"hsl": {
"h": 223.478,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.46495,
"c": 0.16489,
"h": 264.9
},
"luminance": 0.09525
}Semantic roles & 50–950 ramp
primary
#2A50B4
secondary
#C8B072
accent
#B843E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82