#2A50C3#2A50C3
#2A50C3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.185 H 265.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50C3 |
|---|---|
| RGB | rgb(42, 80, 195) |
| HSL | hsl(225, 65%, 46%) |
| HSV | hsv(225, 78%, 76%) |
| CMYK | cmyk(78.5%, 59%, 0%, 23.5%) |
| CIE-LAB | lab(38.14, 28.60, -63.84) |
| CIE-LCH | lch(38.14, 69.95, 294.13°) |
| OKLab | oklab(47.74% -0.014 -0.1845) |
| OKLCH | oklch(47.74% 0.185 265.7) |
| XYZ | xyz(13.6704, 10.1681, 52.8613) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.01
Blue Blue
#2242C7
ΔE00 4.37
Cobalt
#0047AB
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 5.08
Warm Blue
#4B57DB
ΔE00 5.59
Azul
#1D5DEC
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50C3 #C39D2A
analogous
#2A9DC3 #2A50C3 #512AC3
triadic
#2A50C3 #C32A50 #50C32A
tetradic
#2A50C3 #C32A9D #C39D2A #2AC351
square
#2A50C3 #C32A9D #C39D2A #2AC351
split-complementary
#2A50C3 #C3512A #9DC32A
monochromatic
#14275E #1F3B91 #2A50C3 #5173D9 #839BE4
Accessibility & contrast
On white
6.92
#2A50C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2A50C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A50C3
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50C3 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a50c3; /* rgb */ color: rgb(42, 80, 195); /* oklch */ color: oklch(47.7% 0.185 265.7);
Tailwind
colors: {
custom: {
50: '#7c80d6',
500: '#2a50c3',
950: '#000000',
},
}SCSS
$custom: #2a50c3; $custom-light: #7c80d6; $custom-dark: #000000;
JSON
{
"hex": "#2a50c3",
"rgb": {
"r": 42,
"g": 80,
"b": 195
},
"hsl": {
"h": 225.098,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.4774,
"c": 0.185,
"h": 265.7
},
"luminance": 0.1017
}Semantic roles & 50–950 ramp
primary
#2A50C3
secondary
#CDB97B
accent
#BE40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83