#4F43BA#4F43BA
#4F43BA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.180 H 281.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4F43BA |
|---|---|
| RGB | rgb(79, 67, 186) |
| HSL | hsl(246, 47%, 50%) |
| HSV | hsv(246, 64%, 73%) |
| CMYK | cmyk(57.5%, 64%, 0%, 27.1%) |
| CIE-LAB | lab(36.41, 38.75, -61.31) |
| CIE-LCH | lch(36.41, 72.53, 302.29°) |
| OKLab | oklab(46.8% 0.0357 -0.1763) |
| OKLCH | oklch(46.8% 0.18 281.4) |
| XYZ | xyz(14.0918, 9.2208, 47.4821) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 0.77
Blue With A Hint Of Purple
#533CC6
ΔE00 2.57
Blurple
#5539CC
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 3.61
Blue Blue
#2242C7
ΔE00 4.94
Blueberry
#464196
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F43BA #AEBA43
analogous
#4373BA #4F43BA #8A43BA
triadic
#4F43BA #BA4F43 #43BA4F
tetradic
#4F43BA #BA4373 #AEBA43 #43BA8A
square
#4F43BA #BA4373 #AEBA43 #43BA8A
split-complementary
#4F43BA #BA8A43 #73BA43
monochromatic
#292360 #3C338D #4F43BA #786FCB #A29CDB
Accessibility & contrast
On white
7.38
#4F43BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#4F43BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F43BA
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F43BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F43BA | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#126178
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4f43ba; /* rgb */ color: rgb(79, 67, 186); /* oklch */ color: oklch(46.8% 0.180 281.4);
Tailwind
colors: {
custom: {
50: '#8b78d0',
500: '#4f43ba',
950: '#000000',
},
}SCSS
$custom: #4f43ba; $custom-light: #8b78d0; $custom-dark: #000000;
JSON
{
"hex": "#4f43ba",
"rgb": {
"r": 79,
"g": 67,
"b": 186
},
"hsl": {
"h": 246.05,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.46801,
"c": 0.17985,
"h": 281.4
},
"luminance": 0.09222
}Semantic roles & 50–950 ramp
primary
#4F43BA
secondary
#C2C891
accent
#D751C9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82