#4F45BC#4F45BC
#4F45BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.180 H 280.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4F45BC |
|---|---|
| RGB | rgb(79, 69, 188) |
| HSL | hsl(245, 47%, 50%) |
| HSV | hsv(245, 63%, 74%) |
| CMYK | cmyk(58%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(37.02, 38.18, -61.49) |
| CIE-LCH | lch(37.02, 72.38, 301.84°) |
| OKLab | oklab(47.3% 0.0337 -0.1768) |
| OKLCH | oklch(47.3% 0.18 280.8) |
| XYZ | xyz(14.4268, 9.5484, 48.6500) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.30
Blue With A Hint Of Purple
#533CC6
ΔE00 2.85
Bluey Purple
#6241C7
ΔE00 3.65
Blurple
#5539CC
ΔE00 3.85
Blue Blue
#2242C7
ΔE00 4.82
Blueberry
#464196
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F45BC #B2BC45
analogous
#4576BC #4F45BC #8A45BC
triadic
#4F45BC #BC4F45 #45BC4F
tetradic
#4F45BC #BC4576 #B2BC45 #45BC8A
square
#4F45BC #BC4576 #B2BC45 #45BC8A
split-complementary
#4F45BC #BC8A45 #76BC45
monochromatic
#292463 #3C3490 #4F45BC #7A72CC #A49FDC
Accessibility & contrast
On white
7.22
#4F45BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#4F45BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F45BC
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F45BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F45BC | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#0C637A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4f45bc; /* rgb */ color: rgb(79, 69, 188); /* oklch */ color: oklch(47.3% 0.180 280.8);
Tailwind
colors: {
custom: {
50: '#8b79d1',
500: '#4f45bc',
950: '#000000',
},
}SCSS
$custom: #4f45bc; $custom-light: #8b79d1; $custom-dark: #000000;
JSON
{
"hex": "#4f45bc",
"rgb": {
"r": 79,
"g": 69,
"b": 188
},
"hsl": {
"h": 245.042,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.47298,
"c": 0.17996,
"h": 280.8
},
"luminance": 0.09549
}Semantic roles & 50–950 ramp
primary
#4F45BC
secondary
#C4C994
accent
#D751CB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83