#5F62CF#5F62CF
#5F62CF is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.165 H 278.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5F62CF |
|---|---|
| RGB | rgb(95, 98, 207) |
| HSL | hsl(238, 54%, 59%) |
| HSV | hsv(238, 54%, 81%) |
| CMYK | cmyk(54.1%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(46.54, 29.53, -57.02) |
| CIE-LCH | lch(46.54, 64.21, 297.38°) |
| OKLab | oklab(55.08% 0.0239 -0.163) |
| OKLCH | oklch(55.08% 0.165 278.3) |
| XYZ | xyz(20.3459, 15.6719, 60.9723) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.80
Slate Blue
#6A5ACD
ΔE00 3.60
Iris
#6258C4
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 3.97
Warm Blue
#4B57DB
ΔE00 4.31
Royal Blue
#4169E1
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F62CF #CFCC5F
analogous
#5F9ACF #5F62CF #945FCF
triadic
#5F62CF #CF5F62 #62CF5F
tetradic
#5F62CF #CF5F9A #CFCC5F #5FCF94
square
#5F62CF #CF5F9A #CFCC5F #5FCF94
split-complementary
#5F62CF #CF945F #9ACF5F
monochromatic
#292C8A #383BB9 #5F62CF #8E90DD #BDBEEB
Accessibility & contrast
On white
5.08
#5F62CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5F62CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F62CF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F62CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F62CF | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#0F6ACD
Tritanopia (blue-blind)
#2A7B8F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f62cf; /* rgb */ color: rgb(95, 98, 207); /* oklch */ color: oklch(55.1% 0.165 278.3);
Tailwind
colors: {
custom: {
50: '#958ede',
500: '#5f62cf',
950: '#000000',
},
}SCSS
$custom: #5f62cf; $custom-light: #958ede; $custom-dark: #000000;
JSON
{
"hex": "#5f62cf",
"rgb": {
"r": 95,
"g": 98,
"b": 207
},
"hsl": {
"h": 238.393,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.55081,
"c": 0.16475,
"h": 278.3
},
"luminance": 0.15673
}Semantic roles & 50–950 ramp
primary
#5F62CF
secondary
#DBDAAF
accent
#D94BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83