#2A50C1#2A50C1
#2A50C1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.182 H 265.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50C1 |
|---|---|
| RGB | rgb(42, 80, 193) |
| HSL | hsl(225, 64%, 46%) |
| HSV | hsv(225, 78%, 76%) |
| CMYK | cmyk(78.2%, 58.5%, 0%, 24.3%) |
| CIE-LAB | lab(37.98, 27.84, -62.93) |
| CIE-LCH | lch(37.98, 68.82, 293.87°) |
| OKLab | oklab(47.57% -0.0141 -0.1818) |
| OKLCH | oklch(47.57% 0.182 265.6) |
| XYZ | xyz(13.4458, 10.0783, 51.6784) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.82
Blue Blue
#2242C7
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.68
Blue (survey)
#0343DF
ΔE00 5.28
Warm Blue
#4B57DB
ΔE00 5.81
Azul
#1D5DEC
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50C1 #C19B2A
analogous
#2A9BC1 #2A50C1 #502AC1
triadic
#2A50C1 #C12A50 #50C12A
tetradic
#2A50C1 #C12A9B #C19B2A #2AC150
square
#2A50C1 #C12A9B #C19B2A #2AC150
split-complementary
#2A50C1 #C1502A #9BC12A
monochromatic
#14265C #1F3B8F #2A50C1 #4F72D9 #829AE4
Accessibility & contrast
On white
6.96
#2A50C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2A50C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A50C1
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50C1 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a50c1; /* rgb */ color: rgb(42, 80, 193); /* oklch */ color: oklch(47.6% 0.182 265.6);
Tailwind
colors: {
custom: {
50: '#7b80d5',
500: '#2a50c1',
950: '#000000',
},
}SCSS
$custom: #2a50c1; $custom-light: #7b80d5; $custom-dark: #000000;
JSON
{
"hex": "#2a50c1",
"rgb": {
"r": 42,
"g": 80,
"b": 193
},
"hsl": {
"h": 224.901,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.4757,
"c": 0.18235,
"h": 265.6
},
"luminance": 0.1008
}Semantic roles & 50–950 ramp
primary
#2A50C1
secondary
#CDB87A
accent
#BD41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83