#4F52BF#4F52BF
#4F52BF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.167 H 277.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52BF |
|---|---|
| RGB | rgb(79, 82, 191) |
| HSL | hsl(238, 47%, 53%) |
| HSV | hsv(238, 59%, 75%) |
| CMYK | cmyk(58.6%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.34, 31.16, -57.85) |
| CIE-LCH | lch(40.34, 65.70, 298.31°) |
| OKLab | oklab(49.82% 0.0211 -0.166) |
| OKLCH | oklch(49.82% 0.167 277.3) |
| XYZ | xyz(15.6427, 11.4573, 50.6673) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.56
Warm Blue
#4B57DB
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.34
Dark Periwinkle
#665FD1
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52BF #BFBC4F
analogous
#4F8ABF #4F52BF #844FBF
triadic
#4F52BF #BF4F52 #52BF4F
tetradic
#4F52BF #BF4F8A #BFBC4F #4FBF84
square
#4F52BF #BF4F8A #BFBC4F #4FBF84
split-complementary
#4F52BF #BF844F #8ABF4F
monochromatic
#27296C #383A99 #4F52BF #7C7ECF #A9AAE0
Accessibility & contrast
On white
6.38
#4F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4F52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52BF
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52BF | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4f52bf; /* rgb */ color: rgb(79, 82, 191); /* oklch */ color: oklch(49.8% 0.167 277.3);
Tailwind
colors: {
custom: {
50: '#8b82d3',
500: '#4f52bf',
950: '#000000',
},
}SCSS
$custom: #4f52bf; $custom-light: #8b82d3; $custom-dark: #000000;
JSON
{
"hex": "#4f52bf",
"rgb": {
"r": 79,
"g": 82,
"b": 191
},
"hsl": {
"h": 238.393,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.49815,
"c": 0.16734,
"h": 277.3
},
"luminance": 0.11458
}Semantic roles & 50–950 ramp
primary
#4F52BF
secondary
#CDCC9D
accent
#D351D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83