#5F54BC#5F54BC
#5F54BC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.158 H 284.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5F54BC |
|---|---|
| RGB | rgb(95, 84, 188) |
| HSL | hsl(246, 44%, 53%) |
| HSV | hsv(246, 55%, 74%) |
| CMYK | cmyk(49.5%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(41.85, 32.16, -53.59) |
| CIE-LCH | lch(41.85, 62.50, 300.97°) |
| OKLab | oklab(51.18% 0.0385 -0.153) |
| OKLCH | oklch(51.18% 0.158 284.1) |
| XYZ | xyz(16.9640, 12.4035, 49.0675) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.72
Slate Blue
#6A5ACD
ΔE00 3.51
Light Indigo
#6D5ACF
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.64
Warm Blue
#4B57DB
ΔE00 5.40
Ocean Blue
#4F42B5
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F54BC #B1BC54
analogous
#547DBC #5F54BC #9354BC
triadic
#5F54BC #BC5F54 #54BC5F
tetradic
#5F54BC #BC547D #B1BC54 #54BC93
square
#5F54BC #BC547D #B1BC54 #54BC93
split-complementary
#5F54BC #BC9354 #7DBC54
monochromatic
#312A6B #453B97 #5F54BC #8880CD #B1ACDE
Accessibility & contrast
On white
6.03
#5F54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5F54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F54BC
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F54BC | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#0C5FBA
Tritanopia (blue-blind)
#3D6B80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f54bc; /* rgb */ color: rgb(95, 84, 188); /* oklch */ color: oklch(51.2% 0.158 284.1);
Tailwind
colors: {
custom: {
50: '#9384d1',
500: '#5f54bc',
950: '#000000',
},
}SCSS
$custom: #5f54bc; $custom-light: #9384d1; $custom-dark: #000000;
JSON
{
"hex": "#5f54bc",
"rgb": {
"r": 95,
"g": 84,
"b": 188
},
"hsl": {
"h": 246.346,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.51181,
"c": 0.15779,
"h": 284.1
},
"luminance": 0.12404
}Semantic roles & 50–950 ramp
primary
#5F54BC
secondary
#C8CCA0
accent
#D354C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82