#4F52CF#4F52CF
#4F52CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.189 H 276.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52CF |
|---|---|
| RGB | rgb(79, 82, 207) |
| HSL | hsl(239, 57%, 56%) |
| HSV | hsv(239, 62%, 81%) |
| CMYK | cmyk(61.8%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.53, 36.46, -65.18) |
| CIE-LCH | lch(41.53, 74.69, 299.22°) |
| OKLab | oklab(51.07% 0.0209 -0.1876) |
| OKLCH | oklch(51.07% 0.189 276.4) |
| XYZ | xyz(17.5006, 12.2005, 60.4521) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.30
Iris
#6258C4
ΔE00 3.64
Slate Blue
#6A5ACD
ΔE00 4.75
Dark Periwinkle
#665FD1
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52CF #CFCC4F
analogous
#4F92CF #4F52CF #8C4FCF
triadic
#4F52CF #CF4F52 #52CF4F
tetradic
#4F52CF #CF4F92 #CFCC4F #4FCF8C
square
#4F52CF #CF4F92 #CFCC4F #4FCF8C
split-complementary
#4F52CF #CF8C4F #92CF4F
monochromatic
#232581 #3033B1 #4F52CF #7F81DC #AFB1E9
Accessibility & contrast
On white
6.10
#4F52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#4F52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52CF
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52CF | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4f52cf; /* rgb */ color: rgb(79, 82, 207); /* oklch */ color: oklch(51.1% 0.189 276.4);
Tailwind
colors: {
custom: {
50: '#8d83df',
500: '#4f52cf',
950: '#000000',
},
}SCSS
$custom: #4f52cf; $custom-light: #8d83df; $custom-dark: #000000;
JSON
{
"hex": "#4f52cf",
"rgb": {
"r": 79,
"g": 82,
"b": 207
},
"hsl": {
"h": 238.594,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.51073,
"c": 0.18874,
"h": 276.4
},
"luminance": 0.12202
}Semantic roles & 50–950 ramp
primary
#4F52CF
secondary
#D7D6A2
accent
#DD47E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83