#4050C3#4050C3
#4050C3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.179 H 272.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4050C3 |
|---|---|
| RGB | rgb(64, 80, 195) |
| HSL | hsl(233, 52%, 51%) |
| HSV | hsv(233, 67%, 76%) |
| CMYK | cmyk(67.2%, 59%, 0%, 23.5%) |
| CIE-LAB | lab(39.18, 31.32, -62.10) |
| CIE-LCH | lch(39.18, 69.55, 296.76°) |
| OKLab | oklab(48.8% 0.0061 -0.1789) |
| OKLCH | oklch(48.8% 0.179 272) |
| XYZ | xyz(14.8300, 10.7661, 52.9157) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.19
Blue Blue
#2242C7
ΔE00 4.47
Blue (survey)
#0343DF
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.48
Iris
#6258C4
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4050C3 #C3B340
analogous
#4091C3 #4050C3 #7140C3
triadic
#4050C3 #C34050 #50C340
tetradic
#4050C3 #C34091 #C3B340 #40C371
square
#4050C3 #C34091 #C3B340 #40C371
split-complementary
#4050C3 #C37140 #91C340
monochromatic
#212968 #2F3C97 #4050C3 #6F7BD2 #9DA5E0
Accessibility & contrast
On white
6.66
#4050C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#4050C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4050C3
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4050C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4050C3 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4050c3; /* rgb */ color: rgb(64, 80, 195); /* oklch */ color: oklch(48.8% 0.179 272.0);
Tailwind
colors: {
custom: {
50: '#8481d6',
500: '#4050c3',
950: '#000000',
},
}SCSS
$custom: #4050c3; $custom-light: #8481d6; $custom-dark: #000000;
JSON
{
"hex": "#4050c3",
"rgb": {
"r": 64,
"g": 80,
"b": 195
},
"hsl": {
"h": 232.672,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.48799,
"c": 0.17902,
"h": 272
},
"luminance": 0.10767
}Semantic roles & 50–950 ramp
primary
#4050C3
secondary
#CCC592
accent
#CA4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83