#5F55BF#5F55BF
#5F55BF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.160 H 283.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F55BF |
|---|---|
| RGB | rgb(95, 85, 191) |
| HSL | hsl(246, 45%, 54%) |
| HSV | hsv(246, 55%, 75%) |
| CMYK | cmyk(50.3%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.29, 32.47, -54.63) |
| CIE-LCH | lch(42.29, 63.55, 300.73°) |
| OKLab | oklab(51.58% 0.0375 -0.1561) |
| OKLCH | oklch(51.58% 0.16 283.5) |
| XYZ | xyz(17.3690, 12.6906, 50.8144) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.22
Slate Blue
#6A5ACD
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 3.61
Dark Periwinkle
#665FD1
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 4.94
Bluey Purple
#6241C7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F55BF #B5BF55
analogous
#5580BF #5F55BF #9455BF
triadic
#5F55BF #BF5F55 #55BF5F
tetradic
#5F55BF #BF5580 #B5BF55 #55BF94
square
#5F55BF #BF5580 #B5BF55 #55BF94
split-complementary
#5F55BF #BF9455 #80BF55
monochromatic
#312A70 #443B9C #5F55BF #8981D0 #B3AEE0
Accessibility & contrast
On white
5.94
#5F55BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5F55BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F55BF
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F55BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F55BF | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#0560BD
Tritanopia (blue-blind)
#3B6D82
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f55bf; /* rgb */ color: rgb(95, 85, 191); /* oklch */ color: oklch(51.6% 0.160 283.5);
Tailwind
colors: {
custom: {
50: '#9385d3',
500: '#5f55bf',
950: '#000000',
},
}SCSS
$custom: #5f55bf; $custom-light: #9385d3; $custom-dark: #000000;
JSON
{
"hex": "#5f55bf",
"rgb": {
"r": 95,
"g": 85,
"b": 191
},
"hsl": {
"h": 245.66,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.51575,
"c": 0.16049,
"h": 283.5
},
"luminance": 0.12691
}Semantic roles & 50–950 ramp
primary
#5F55BF
secondary
#CACEA1
accent
#D553C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83