#4F5FCE#4F5FCE
#4F5FCE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.171 H 273.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FCE |
|---|---|
| RGB | rgb(79, 95, 206) |
| HSL | hsl(232, 56%, 56%) |
| HSV | hsv(232, 62%, 81%) |
| CMYK | cmyk(61.7%, 53.9%, 0%, 19.2%) |
| CIE-LAB | lab(44.66, 28.05, -59.53) |
| CIE-LCH | lch(44.66, 65.81, 295.23°) |
| OKLab | oklab(53.38% 0.009 -0.1708) |
| OKLCH | oklch(53.38% 0.171 273) |
| XYZ | xyz(18.4535, 14.3014, 60.1685) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.04
Dark Periwinkle
#665FD1
ΔE00 4.03
Iris
#6258C4
ΔE00 4.63
Royal Blue
#4169E1
ΔE00 4.72
Azul
#1D5DEC
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FCE #CEBE4F
analogous
#4F9ECE #4F5FCE #7E4FCE
triadic
#4F5FCE #CE4F5F #5FCE4F
tetradic
#4F5FCE #CE4F9E #CEBE4F #4FCE7E
square
#4F5FCE #CE4F9E #CEBE4F #4FCE7E
split-complementary
#4F5FCE #CE7E4F #9ECE4F
monochromatic
#232F7F #3141AF #4F5FCE #7F8BDB #AFB6E9
Accessibility & contrast
On white
5.44
#4F5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#4F5FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FCE
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FCE | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126FD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4f5fce; /* rgb */ color: rgb(79, 95, 206); /* oklch */ color: oklch(53.4% 0.171 273.0);
Tailwind
colors: {
custom: {
50: '#8c8cde',
500: '#4f5fce',
950: '#000000',
},
}SCSS
$custom: #4f5fce; $custom-light: #8c8cde; $custom-dark: #000000;
JSON
{
"hex": "#4f5fce",
"rgb": {
"r": 79,
"g": 95,
"b": 206
},
"hsl": {
"h": 232.441,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.53377,
"c": 0.17107,
"h": 273
},
"luminance": 0.14303
}Semantic roles & 50–950 ramp
primary
#4F5FCE
secondary
#D7D0A2
accent
#CD48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83