#4F42BC#4F42BC
#4F42BC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.184 H 281.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F42BC |
|---|---|
| RGB | rgb(79, 66, 188) |
| HSL | hsl(246, 48%, 50%) |
| HSV | hsv(246, 65%, 74%) |
| CMYK | cmyk(58%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(36.34, 39.98, -62.59) |
| CIE-LCH | lch(36.34, 74.26, 302.57°) |
| OKLab | oklab(46.81% 0.0364 -0.18) |
| OKLCH | oklch(46.81% 0.184 281.4) |
| XYZ | xyz(14.2469, 9.1886, 48.5900) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.01
Blue With A Hint Of Purple
#533CC6
ΔE00 2.18
Blurple
#5539CC
ΔE00 3.23
Bluey Purple
#6241C7
ΔE00 3.41
Blue Blue
#2242C7
ΔE00 4.90
Blueberry
#464196
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F42BC #AFBC42
analogous
#4272BC #4F42BC #8C42BC
triadic
#4F42BC #BC4F42 #42BC4F
tetradic
#4F42BC #BC4272 #AFBC42 #42BC8C
square
#4F42BC #BC4272 #AFBC42 #42BC8C
split-complementary
#4F42BC #BC8C42 #72BC42
monochromatic
#292261 #3C328F #4F42BC #796FCC #A39CDC
Accessibility & contrast
On white
7.40
#4F42BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#4F42BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F42BC
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F42BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F42BC | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#0D6179
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4f42bc; /* rgb */ color: rgb(79, 66, 188); /* oklch */ color: oklch(46.8% 0.184 281.4);
Tailwind
colors: {
custom: {
50: '#8b77d1',
500: '#4f42bc',
950: '#000000',
},
}SCSS
$custom: #4f42bc; $custom-light: #8b77d1; $custom-dark: #000000;
JSON
{
"hex": "#4f42bc",
"rgb": {
"r": 79,
"g": 66,
"b": 188
},
"hsl": {
"h": 246.393,
"s": 48.031,
"l": 49.804
},
"oklch": {
"l": 0.46807,
"c": 0.18367,
"h": 281.4
},
"luminance": 0.0919
}Semantic roles & 50–950 ramp
primary
#4F42BC
secondary
#C3C991
accent
#D850C9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83