#5F77EA#5F77EA
#5F77EA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.175 H 271.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77EA |
|---|---|
| RGB | rgb(95, 119, 234) |
| HSL | hsl(230, 77%, 65%) |
| HSV | hsv(230, 59%, 92%) |
| CMYK | cmyk(59.4%, 49.1%, 0%, 8.2%) |
| CIE-LAB | lab(53.56, 25.41, -60.99) |
| CIE-LCH | lch(53.56, 66.07, 292.62°) |
| OKLab | oklab(60.92% 0.0045 -0.1745) |
| OKLCH | oklch(60.92% 0.175 271.5) |
| XYZ | xyz(26.1625, 21.5650, 80.6097) |
| Luminance | 0.2157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.59
Cornflower Blue
#5170D7
ΔE00 4.04
Lightish Blue
#3D7AFD
ΔE00 4.44
Soft Blue
#6488EA
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 5.92
Clear Blue
#247AFD
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77EA #EAD25F
analogous
#5FBDEA #5F77EA #8C5FEA
triadic
#5F77EA #EA5F77 #77EA5F
tetradic
#5F77EA #EA5FBD #EAD25F #5FEA8C
square
#5F77EA #EA5FBD #EAD25F #5FEA8C
split-complementary
#5F77EA #EA8C5F #BDEA5F
monochromatic
#1833B7 #2949E3 #5F77EA #95A5F1 #CBD3F8
Accessibility & contrast
On white
3.95
#5F77EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5F77EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77EA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77EA | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B86EE
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f77ea; /* rgb */ color: rgb(95, 119, 234); /* oklch */ color: oklch(60.9% 0.175 271.5);
Tailwind
colors: {
custom: {
50: '#989df1',
500: '#5f77ea',
950: '#000000',
},
}SCSS
$custom: #5f77ea; $custom-light: #989df1; $custom-dark: #000000;
JSON
{
"hex": "#5f77ea",
"rgb": {
"r": 95,
"g": 119,
"b": 234
},
"hsl": {
"h": 229.64,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.6092,
"c": 0.17455,
"h": 271.5
},
"luminance": 0.21567
}Semantic roles & 50–950 ramp
primary
#5F77EA
secondary
#EAE2BA
accent
#B60CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85