#4F54BF#4F54BF
#4F54BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.165 H 276.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54BF |
|---|---|
| RGB | rgb(79, 84, 191) |
| HSL | hsl(237, 47%, 53%) |
| HSV | hsv(237, 59%, 75%) |
| CMYK | cmyk(58.6%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(40.84, 29.91, -57.04) |
| CIE-LCH | lch(40.84, 64.41, 297.67°) |
| OKLab | oklab(50.19% 0.0191 -0.1636) |
| OKLCH | oklch(50.19% 0.165 276.7) |
| XYZ | xyz(15.7957, 11.7633, 50.7183) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.43
Warm Blue
#4B57DB
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 5.22
Dark Periwinkle
#665FD1
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54BF #BFBA4F
analogous
#4F8CBF #4F54BF #824FBF
triadic
#4F54BF #BF4F54 #54BF4F
tetradic
#4F54BF #BF4F8C #BFBA4F #4FBF82
square
#4F54BF #BF4F8C #BFBA4F #4FBF82
split-complementary
#4F54BF #BF824F #8CBF4F
monochromatic
#272A6C #383C99 #4F54BF #7C80CF #A9ABE0
Accessibility & contrast
On white
6.26
#4F54BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4F54BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54BF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54BF | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4f54bf; /* rgb */ color: rgb(79, 84, 191); /* oklch */ color: oklch(50.2% 0.165 276.7);
Tailwind
colors: {
custom: {
50: '#8a84d3',
500: '#4f54bf',
950: '#000000',
},
}SCSS
$custom: #4f54bf; $custom-light: #8a84d3; $custom-dark: #000000;
JSON
{
"hex": "#4f54bf",
"rgb": {
"r": 79,
"g": 84,
"b": 191
},
"hsl": {
"h": 237.321,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.50185,
"c": 0.16472,
"h": 276.7
},
"luminance": 0.11765
}Semantic roles & 50–950 ramp
primary
#4F54BF
secondary
#CDCB9D
accent
#D051D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83