#5F62DF#5F62DF
#5F62DF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.186 H 277.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5F62DF |
|---|---|
| RGB | rgb(95, 98, 223) |
| HSL | hsl(239, 67%, 62%) |
| HSV | hsv(239, 57%, 87%) |
| CMYK | cmyk(57.4%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(47.62, 34.64, -64.40) |
| CIE-LCH | lch(47.62, 73.13, 298.28°) |
| OKLab | oklab(56.23% 0.0244 -0.1847) |
| OKLCH | oklch(56.23% 0.186 277.5) |
| XYZ | xyz(22.4020, 16.4944, 71.8010) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.55
Warm Blue
#4B57DB
ΔE00 4.22
Slate Blue
#6A5ACD
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.43
Iris
#6258C4
ΔE00 5.13
Royal Blue
#4169E1
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F62DF #DFDC5F
analogous
#5FA2DF #5F62DF #9C5FDF
triadic
#5F62DF #DF5F62 #62DF5F
tetradic
#5F62DF #DF5FA2 #DFDC5F #5FDF9C
square
#5F62DF #DF5FA2 #DFDC5F #5FDF9C
split-complementary
#5F62DF #DF9C5F #A2DF5F
monochromatic
#2124A3 #2C30D5 #5F62DF #9294E9 #C5C6F3
Accessibility & contrast
On white
4.88
#5F62DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5F62DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F62DF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F62DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F62DF | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#087F97
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5f62df; /* rgb */ color: rgb(95, 98, 223); /* oklch */ color: oklch(56.2% 0.186 277.5);
Tailwind
colors: {
custom: {
50: '#978eea',
500: '#5f62df',
950: '#000000',
},
}SCSS
$custom: #5f62df; $custom-light: #978eea; $custom-dark: #000000;
JSON
{
"hex": "#5f62df",
"rgb": {
"r": 95,
"g": 98,
"b": 223
},
"hsl": {
"h": 238.594,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.56226,
"c": 0.18633,
"h": 277.5
},
"luminance": 0.16496
}Semantic roles & 50–950 ramp
primary
#5F62DF
secondary
#E4E3B6
accent
#CA17CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84