#2A50C2#2A50C2
#2A50C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.184 H 265.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50C2 |
|---|---|
| RGB | rgb(42, 80, 194) |
| HSL | hsl(225, 64%, 46%) |
| HSV | hsv(225, 78%, 76%) |
| CMYK | cmyk(78.4%, 58.8%, 0%, 23.9%) |
| CIE-LAB | lab(38.06, 28.22, -63.39) |
| CIE-LCH | lch(38.06, 69.39, 294.00°) |
| OKLab | oklab(47.65% -0.014 -0.1831) |
| OKLCH | oklch(47.65% 0.184 265.6) |
| XYZ | xyz(13.5577, 10.1230, 52.2679) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.91
Blue Blue
#2242C7
ΔE00 4.40
Cobalt
#0047AB
ΔE00 4.79
Blue (survey)
#0343DF
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.70
Azul
#1D5DEC
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50C2 #C29C2A
analogous
#2A9CC2 #2A50C2 #502AC2
triadic
#2A50C2 #C22A50 #50C22A
tetradic
#2A50C2 #C22A9C #C29C2A #2AC250
square
#2A50C2 #C22A9C #C29C2A #2AC250
split-complementary
#2A50C2 #C2502A #9CC22A
monochromatic
#14275D #1F3B90 #2A50C2 #5072D9 #829BE4
Accessibility & contrast
On white
6.94
#2A50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2A50C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A50C2
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50C2 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a50c2; /* rgb */ color: rgb(42, 80, 194); /* oklch */ color: oklch(47.7% 0.184 265.6);
Tailwind
colors: {
custom: {
50: '#7c80d5',
500: '#2a50c2',
950: '#000000',
},
}SCSS
$custom: #2a50c2; $custom-light: #7c80d5; $custom-dark: #000000;
JSON
{
"hex": "#2a50c2",
"rgb": {
"r": 42,
"g": 80,
"b": 194
},
"hsl": {
"h": 225,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.47655,
"c": 0.18369,
"h": 265.6
},
"luminance": 0.10125
}Semantic roles & 50–950 ramp
primary
#2A50C2
secondary
#CDB87B
accent
#BE40E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83