#5B5FE0#5B5FE0
#5B5FE0 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.192 H 276.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5FE0 |
|---|---|
| RGB | rgb(91, 95, 224) |
| HSL | hsl(238, 68%, 62%) |
| HSV | hsv(238, 59%, 88%) |
| CMYK | cmyk(59.4%, 57.6%, 0%, 12.2%) |
| CIE-LAB | lab(46.70, 36.09, -66.47) |
| CIE-LCH | lch(46.70, 75.63, 298.50°) |
| OKLab | oklab(55.5% 0.0227 -0.1909) |
| OKLCH | oklch(55.5% 0.192 276.8) |
| XYZ | xyz(21.8568, 15.7887, 72.4023) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.68
Warm Blue
#4B57DB
ΔE00 3.24
Slate Blue
#6A5ACD
ΔE00 4.14
Light Indigo
#6D5ACF
ΔE00 4.34
Iris
#6258C4
ΔE00 4.78
Royal Blue
#4169E1
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5FE0 #E0DC5B
analogous
#5BA2E0 #5B5FE0 #995BE0
triadic
#5B5FE0 #E05B5F #5FE05B
tetradic
#5B5FE0 #E05BA2 #E0DC5B #5BE099
square
#5B5FE0 #E05BA2 #E0DC5B #5BE099
split-complementary
#5B5FE0 #E0995B #A2E05B
monochromatic
#1F23A2 #282ED5 #5B5FE0 #8E91EA #C2C3F3
Accessibility & contrast
On white
5.05
#5B5FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5B5FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5FE0
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5FE0 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5fe0; /* rgb */ color: rgb(91, 95, 224); /* oklch */ color: oklch(55.5% 0.192 276.8);
Tailwind
colors: {
custom: {
50: '#958ceb',
500: '#5b5fe0',
950: '#000000',
},
}SCSS
$custom: #5b5fe0; $custom-light: #958ceb; $custom-dark: #000000;
JSON
{
"hex": "#5b5fe0",
"rgb": {
"r": 91,
"g": 95,
"b": 224
},
"hsl": {
"h": 238.195,
"s": 68.205,
"l": 61.765
},
"oklch": {
"l": 0.55495,
"c": 0.19229,
"h": 276.8
},
"luminance": 0.1579
}Semantic roles & 50–950 ramp
primary
#5B5FE0
secondary
#E4E3B3
accent
#CB15D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84