#4050BC#4050BC
#4050BC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.170 H 272.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4050BC |
|---|---|
| RGB | rgb(64, 80, 188) |
| HSL | hsl(232, 49%, 49%) |
| HSV | hsv(232, 66%, 74%) |
| CMYK | cmyk(66%, 57.4%, 0%, 26.3%) |
| CIE-LAB | lab(38.65, 28.86, -58.88) |
| CIE-LCH | lch(38.65, 65.57, 296.11°) |
| OKLab | oklab(48.24% 0.0061 -0.1694) |
| OKLCH | oklch(48.24% 0.17 272.1) |
| XYZ | xyz(14.0571, 10.4569, 48.8448) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.65
Warm Blue
#4B57DB
ΔE00 5.01
Sapphire
#0F52BA
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.42
Iris
#6258C4
ΔE00 5.80
Blue (survey)
#0343DF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4050BC #BCAC40
analogous
#408EBC #4050BC #6E40BC
triadic
#4050BC #BC4050 #50BC40
tetradic
#4050BC #BC408E #BCAC40 #40BC6E
square
#4050BC #BC408E #BCAC40 #40BC6E
split-complementary
#4050BC #BC6E40 #8EBC40
monochromatic
#212961 #303D8E #4050BC #6C79CD #9AA2DD
Accessibility & contrast
On white
6.79
#4050BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#4050BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4050BC
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4050BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4050BC | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4050bc; /* rgb */ color: rgb(64, 80, 188); /* oklch */ color: oklch(48.2% 0.170 272.1);
Tailwind
colors: {
custom: {
50: '#8381d1',
500: '#4050bc',
950: '#000000',
},
}SCSS
$custom: #4050bc; $custom-light: #8381d1; $custom-dark: #000000;
JSON
{
"hex": "#4050bc",
"rgb": {
"r": 64,
"g": 80,
"b": 188
},
"hsl": {
"h": 232.258,
"s": 49.206,
"l": 49.412
},
"oklch": {
"l": 0.48235,
"c": 0.16955,
"h": 272.1
},
"luminance": 0.10458
}Semantic roles & 50–950 ramp
primary
#4050BC
secondary
#C9C18F
accent
#C74FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82