#5F55CA#5F55CA
#5F55CA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.175 H 282.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5F55CA |
|---|---|
| RGB | rgb(95, 85, 202) |
| HSL | hsl(245, 52%, 56%) |
| HSV | hsv(245, 58%, 79%) |
| CMYK | cmyk(53%, 57.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.05, 35.88, -59.78) |
| CIE-LCH | lch(43.05, 69.72, 300.97°) |
| OKLab | oklab(52.38% 0.0375 -0.1712) |
| OKLCH | oklch(52.38% 0.175 282.4) |
| XYZ | xyz(18.6252, 13.1931, 57.4308) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.35
Slate Blue
#6A5ACD
ΔE00 2.36
Light Indigo
#6D5ACF
ΔE00 2.85
Dark Periwinkle
#665FD1
ΔE00 3.34
Warm Blue
#4B57DB
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F55CA #C0CA55
analogous
#5586CA #5F55CA #9A55CA
triadic
#5F55CA #CA5F55 #55CA5F
tetradic
#5F55CA #CA5586 #C0CA55 #55CA9A
square
#5F55CA #CA5586 #C0CA55 #55CA9A
split-complementary
#5F55CA #CA9A55 #86CA55
monochromatic
#2F277D #4036AC #5F55CA #8B84D9 #B7B2E7
Accessibility & contrast
On white
5.77
#5F55CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#5F55CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F55CA
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F55CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F55CA | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#317087
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5f55ca; /* rgb */ color: rgb(95, 85, 202); /* oklch */ color: oklch(52.4% 0.175 282.4);
Tailwind
colors: {
custom: {
50: '#9585db',
500: '#5f55ca',
950: '#000000',
},
}SCSS
$custom: #5f55ca; $custom-light: #9585db; $custom-dark: #000000;
JSON
{
"hex": "#5f55ca",
"rgb": {
"r": 95,
"g": 85,
"b": 202
},
"hsl": {
"h": 245.128,
"s": 52.466,
"l": 56.275
},
"oklch": {
"l": 0.52378,
"c": 0.17528,
"h": 282.4
},
"luminance": 0.13194
}Semantic roles & 50–950 ramp
primary
#5F55CA
secondary
#D1D5A5
accent
#DC4CD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83