#5B79CF#5B79CF
#5B79CF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.136 H 267.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79CF |
|---|---|
| RGB | rgb(91, 121, 207) |
| HSL | hsl(224, 55%, 58%) |
| HSV | hsv(224, 56%, 81%) |
| CMYK | cmyk(56%, 41.5%, 0%, 18.8%) |
| CIE-LAB | lab(52.29, 14.54, -47.83) |
| CIE-LCH | lch(52.29, 49.99, 286.91°) |
| OKLab | oklab(59.38% -0.0055 -0.1359) |
| OKLCH | oklch(59.38% 0.136 267.7) |
| XYZ | xyz(22.4105, 20.4022, 61.7764) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.27
Lightish Blue
#3D7AFD
ΔE00 5.57
Soft Blue
#6488EA
ΔE00 5.93
Royal Blue
#4169E1
ΔE00 6.01
Cornflower
#6A79F7
ΔE00 6.09
Clear Blue
#247AFD
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79CF #CFB15B
analogous
#5BB3CF #5B79CF #775BCF
triadic
#5B79CF #CF5B79 #79CF5B
tetradic
#5B79CF #CF5BB3 #CFB15B #5BCF77
square
#5B79CF #CF5BB3 #CFB15B #5BCF77
split-complementary
#5B79CF #CF775B #B3CF5B
monochromatic
#284188 #3657B7 #5B79CF #8AA0DD #BAC6EB
Accessibility & contrast
On white
4.13
#5B79CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#5B79CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79CF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79CF | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4678CD
Tritanopia (blue-blind)
#108C9A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5b79cf; /* rgb */ color: rgb(91, 121, 207); /* oklch */ color: oklch(59.4% 0.136 267.7);
Tailwind
colors: {
custom: {
50: '#929fde',
500: '#5b79cf',
950: '#000000',
},
}SCSS
$custom: #5b79cf; $custom-light: #929fde; $custom-dark: #000000;
JSON
{
"hex": "#5b79cf",
"rgb": {
"r": 91,
"g": 121,
"b": 207
},
"hsl": {
"h": 224.483,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.59381,
"c": 0.136,
"h": 267.7
},
"luminance": 0.20404
}Semantic roles & 50–950 ramp
primary
#5B79CF
secondary
#DACEAC
accent
#B84ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83