#2D50C4#2D50C4
#2D50C4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.186 H 266.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2D50C4 |
|---|---|
| RGB | rgb(45, 80, 196) |
| HSL | hsl(226, 63%, 47%) |
| HSV | hsv(226, 77%, 77%) |
| CMYK | cmyk(77%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(38.34, 29.28, -64.10) |
| CIE-LCH | lch(38.34, 70.47, 294.55°) |
| OKLab | oklab(47.94% -0.0116 -0.1852) |
| OKLCH | oklch(47.94% 0.186 266.4) |
| XYZ | xyz(13.9112, 10.2792, 53.4648) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.36
Blue Blue
#2242C7
ΔE00 4.27
Blue (survey)
#0343DF
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.29
Azul
#1D5DEC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D50C4 #C4A12D
analogous
#2D9BC4 #2D50C4 #562DC4
triadic
#2D50C4 #C42D50 #50C42D
tetradic
#2D50C4 #C42D9B #C4A12D #2DC456
square
#2D50C4 #C42D9B #C4A12D #2DC456
split-complementary
#2D50C4 #C4562D #9BC42D
monochromatic
#162760 #223C92 #2D50C4 #5674D8 #889DE4
Accessibility & contrast
On white
6.87
#2D50C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2D50C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D50C4
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D50C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D50C4 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2d50c4; /* rgb */ color: rgb(45, 80, 196); /* oklch */ color: oklch(47.9% 0.186 266.4);
Tailwind
colors: {
custom: {
50: '#7d80d7',
500: '#2d50c4',
950: '#000000',
},
}SCSS
$custom: #2d50c4; $custom-light: #7d80d7; $custom-dark: #000000;
JSON
{
"hex": "#2d50c4",
"rgb": {
"r": 45,
"g": 80,
"b": 196
},
"hsl": {
"h": 226.093,
"s": 62.656,
"l": 47.255
},
"oklch": {
"l": 0.47944,
"c": 0.18554,
"h": 266.4
},
"luminance": 0.10281
}Semantic roles & 50–950 ramp
primary
#2D50C4
secondary
#CDBB80
accent
#C042E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83