#5F59CC#5F59CC
#5F59CC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.173 H 281.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5F59CC |
|---|---|
| RGB | rgb(95, 89, 204) |
| HSL | hsl(243, 53%, 57%) |
| HSV | hsv(243, 56%, 80%) |
| CMYK | cmyk(53.4%, 56.4%, 0%, 20%) |
| CIE-LAB | lab(44.14, 34.08, -59.17) |
| CIE-LCH | lch(44.14, 68.28, 299.94°) |
| OKLab | oklab(53.23% 0.0333 -0.1694) |
| OKLCH | oklch(53.23% 0.173 281.1) |
| XYZ | xyz(19.1874, 13.9361, 58.7939) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.38
Slate Blue
#6A5ACD
ΔE00 1.99
Dark Periwinkle
#665FD1
ΔE00 2.22
Light Indigo
#6D5ACF
ΔE00 2.56
Warm Blue
#4B57DB
ΔE00 3.39
Bluey Purple
#6241C7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F59CC #C6CC59
analogous
#598DCC #5F59CC #9859CC
triadic
#5F59CC #CC5F59 #59CC5F
tetradic
#5F59CC #CC598D #C6CC59 #59CC98
square
#5F59CC #CC598D #C6CC59 #59CC98
split-complementary
#5F59CC #CC9859 #8DCC59
monochromatic
#2D2883 #3D36B1 #5F59CC #8C88DA #B9B7E9
Accessibility & contrast
On white
5.54
#5F59CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#5F59CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F59CC
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F59CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F59CC | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#2F748A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f59cc; /* rgb */ color: rgb(95, 89, 204); /* oklch */ color: oklch(53.2% 0.173 281.1);
Tailwind
colors: {
custom: {
50: '#9588dc',
500: '#5f59cc',
950: '#000000',
},
}SCSS
$custom: #5f59cc; $custom-light: #9588dc; $custom-dark: #000000;
JSON
{
"hex": "#5f59cc",
"rgb": {
"r": 95,
"g": 89,
"b": 204
},
"hsl": {
"h": 243.13,
"s": 52.995,
"l": 57.451
},
"oklch": {
"l": 0.53228,
"c": 0.17264,
"h": 281.1
},
"luminance": 0.13937
}Semantic roles & 50–950 ramp
primary
#5F59CC
secondary
#D5D8A9
accent
#DC4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83