#5A65CF#5A65CF
#5A65CF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.162 H 275.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5A65CF |
|---|---|
| RGB | rgb(90, 101, 207) |
| HSL | hsl(234, 55%, 58%) |
| HSV | hsv(234, 57%, 81%) |
| CMYK | cmyk(56.5%, 51.2%, 0%, 18.8%) |
| CIE-LAB | lab(46.95, 26.68, -56.37) |
| CIE-LCH | lch(46.95, 62.37, 295.33°) |
| OKLab | oklab(55.3% 0.015 -0.1612) |
| OKLCH | oklch(55.3% 0.162 275.3) |
| XYZ | xyz(20.1290, 15.9846, 61.0440) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.30
Royal Blue
#4169E1
ΔE00 4.41
Cornflower Blue
#5170D7
ΔE00 4.65
Warm Blue
#4B57DB
ΔE00 4.79
Iris
#6258C4
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A65CF #CFC45A
analogous
#5A9FCF #5A65CF #895ACF
triadic
#5A65CF #CF5A65 #65CF5A
tetradic
#5A65CF #CF5A9F #CFC45A #5ACF89
square
#5A65CF #CF5A9F #CFC45A #5ACF89
split-complementary
#5A65CF #CF895A #9FCF5A
monochromatic
#273087 #3541B7 #5A65CF #8991DD #B9BDEB
Accessibility & contrast
On white
5.00
#5A65CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5A65CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A65CF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A65CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A65CF | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C74D3
Deuteranopia (green-blind)
#156BCD
Tritanopia (blue-blind)
#147D90
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a65cf; /* rgb */ color: rgb(90, 101, 207); /* oklch */ color: oklch(55.3% 0.162 275.3);
Tailwind
colors: {
custom: {
50: '#9290de',
500: '#5a65cf',
950: '#000000',
},
}SCSS
$custom: #5a65cf; $custom-light: #9290de; $custom-dark: #000000;
JSON
{
"hex": "#5a65cf",
"rgb": {
"r": 90,
"g": 101,
"b": 207
},
"hsl": {
"h": 234.359,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.55303,
"c": 0.1619,
"h": 275.3
},
"luminance": 0.15986
}Semantic roles & 50–950 ramp
primary
#5A65CF
secondary
#DAD5AB
accent
#D04ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83