#4050C9#4050C9
#4050C9 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.187 H 271.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4050C9 |
|---|---|
| RGB | rgb(64, 80, 201) |
| HSL | hsl(233, 56%, 52%) |
| HSV | hsv(233, 68%, 79%) |
| CMYK | cmyk(68.2%, 60.2%, 0%, 21.2%) |
| CIE-LAB | lab(39.65, 33.42, -64.82) |
| CIE-LCH | lch(39.65, 72.93, 297.27°) |
| OKLab | oklab(49.29% 0.0061 -0.1869) |
| OKLCH | oklch(49.29% 0.187 271.9) |
| XYZ | xyz(15.5221, 11.0429, 56.5605) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.54
Blue Blue
#2242C7
ΔE00 4.51
Blue (survey)
#0343DF
ΔE00 4.78
Iris
#6258C4
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.68
Sapphire
#0F52BA
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4050C9 #C9B940
analogous
#4094C9 #4050C9 #7540C9
triadic
#4050C9 #C94050 #50C940
tetradic
#4050C9 #C94094 #C9B940 #40C975
square
#4050C9 #C94094 #C9B940 #40C975
split-complementary
#4050C9 #C97540 #94C940
monochromatic
#1F296F #2D3A9F #4050C9 #707CD6 #9FA7E4
Accessibility & contrast
On white
6.54
#4050C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#4050C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4050C9
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4050C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4050C9 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4050c9; /* rgb */ color: rgb(64, 80, 201); /* oklch */ color: oklch(49.3% 0.187 271.9);
Tailwind
colors: {
custom: {
50: '#8581da',
500: '#4050c9',
950: '#000000',
},
}SCSS
$custom: #4050c9; $custom-light: #8581da; $custom-dark: #000000;
JSON
{
"hex": "#4050c9",
"rgb": {
"r": 64,
"g": 80,
"b": 201
},
"hsl": {
"h": 232.993,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.49294,
"c": 0.187,
"h": 271.9
},
"luminance": 0.11044
}Semantic roles & 50–950 ramp
primary
#4050C9
secondary
#D0C994
accent
#CE49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83