#5F6BC5#5F6BC5
#5F6BC5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.139 H 275.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5F6BC5 |
|---|---|
| RGB | rgb(95, 107, 197) |
| HSL | hsl(233, 47%, 57%) |
| HSV | hsv(233, 52%, 77%) |
| CMYK | cmyk(51.8%, 45.7%, 0%, 22.7%) |
| CIE-LAB | lab(48.23, 20.79, -48.57) |
| CIE-LCH | lch(48.23, 52.83, 293.17°) |
| OKLab | oklab(56.16% 0.0128 -0.1381) |
| OKLCH | oklch(56.16% 0.139 275.3) |
| XYZ | xyz(20.0519, 16.9782, 55.0330) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 5.01
Royal Blue
#4169E1
ΔE00 5.31
Iris
#6258C4
ΔE00 6.69
Slate Blue
#6A5ACD
ΔE00 6.70
French Blue
#436BAD
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F6BC5 #C5B95F
analogous
#5F9EC5 #5F6BC5 #865FC5
triadic
#5F6BC5 #C55F6B #6BC55F
tetradic
#5F6BC5 #C55F9E #C5B95F #5FC586
square
#5F6BC5 #C55F9E #C5B95F #5FC586
split-complementary
#5F6BC5 #C5865F #9EC55F
monochromatic
#2D367C #3D4AA9 #5F6BC5 #8C95D5 #B9BEE6
Accessibility & contrast
On white
4.78
#5F6BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#5F6BC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F6BC5
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F6BC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F6BC5 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4477C8
Deuteranopia (green-blind)
#396EC3
Tritanopia (blue-blind)
#337E8E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f6bc5; /* rgb */ color: rgb(95, 107, 197); /* oklch */ color: oklch(56.2% 0.139 275.3);
Tailwind
colors: {
custom: {
50: '#9395d7',
500: '#5f6bc5',
950: '#000000',
},
}SCSS
$custom: #5f6bc5; $custom-light: #9395d7; $custom-dark: #000000;
JSON
{
"hex": "#5f6bc5",
"rgb": {
"r": 95,
"g": 107,
"b": 197
},
"hsl": {
"h": 232.941,
"s": 46.789,
"l": 57.255
},
"oklch": {
"l": 0.56161,
"c": 0.13868,
"h": 275.3
},
"luminance": 0.1698
}Semantic roles & 50–950 ramp
primary
#5F6BC5
secondary
#D5D0AB
accent
#C751D6
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83