#2A50C4#2A50C4
#2A50C4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.186 H 265.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50C4 |
|---|---|
| RGB | rgb(42, 80, 196) |
| HSL | hsl(225, 65%, 47%) |
| HSV | hsv(225, 79%, 77%) |
| CMYK | cmyk(78.6%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.22, 28.97, -64.29) |
| CIE-LCH | lch(38.22, 70.52, 294.26°) |
| OKLab | oklab(47.83% -0.014 -0.1858) |
| OKLCH | oklch(47.83% 0.186 265.7) |
| XYZ | xyz(13.7838, 10.2135, 53.4588) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.11
Blue Blue
#2242C7
ΔE00 4.33
Blue (survey)
#0343DF
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.48
Azul
#1D5DEC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50C4 #C49E2A
analogous
#2A9DC4 #2A50C4 #512AC4
triadic
#2A50C4 #C42A50 #50C42A
tetradic
#2A50C4 #C42A9D #C49E2A #2AC451
square
#2A50C4 #C42A9D #C49E2A #2AC451
split-complementary
#2A50C4 #C4512A #9DC42A
monochromatic
#14275F #1F3B92 #2A50C4 #5173DA #849CE5
Accessibility & contrast
On white
6.90
#2A50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2A50C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A50C4
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50C4 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a50c4; /* rgb */ color: rgb(42, 80, 196); /* oklch */ color: oklch(47.8% 0.186 265.7);
Tailwind
colors: {
custom: {
50: '#7c80d7',
500: '#2a50c4',
950: '#000000',
},
}SCSS
$custom: #2a50c4; $custom-light: #7c80d7; $custom-dark: #000000;
JSON
{
"hex": "#2a50c4",
"rgb": {
"r": 42,
"g": 80,
"b": 196
},
"hsl": {
"h": 225.195,
"s": 64.706,
"l": 46.667
},
"oklch": {
"l": 0.47825,
"c": 0.18632,
"h": 265.7
},
"luminance": 0.10215
}Semantic roles & 50–950 ramp
primary
#2A50C4
secondary
#CEBA7C
accent
#BE40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83