#5F81FD#5F81FD
#5F81FD is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.1% C 0.188 H 269.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5F81FD |
|---|---|
| RGB | rgb(95, 129, 253) |
| HSL | hsl(227, 98%, 68%) |
| HSV | hsv(227, 62%, 99%) |
| CMYK | cmyk(62.5%, 49%, 0%, 0.8%) |
| CIE-LAB | lab(57.29, 25.63, -65.53) |
| CIE-LCH | lch(57.29, 70.37, 291.36°) |
| OKLab | oklab(64.13% -0.0031 -0.1877) |
| OKLCH | oklch(64.13% 0.188 269) |
| XYZ | xyz(30.2932, 25.2226, 96.1815) |
| Luminance | 0.2522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.10
Cornflower
#6A79F7
ΔE00 3.53
Lightish Blue
#3D7AFD
ΔE00 3.95
Dodger Blue
#3E82FC
ΔE00 4.22
Clear Blue
#247AFD
ΔE00 5.57
Azure
#007FFF
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F81FD #FDDB5F
analogous
#5FD0FD #5F81FD #8C5FFD
triadic
#5F81FD #FD5F81 #81FD5F
tetradic
#5F81FD #FD5FD0 #FDDB5F #5FFD8C
square
#5F81FD #FD5FD0 #FDDB5F #5FFD8C
split-complementary
#5F81FD #FD8C5F #D0FD5F
monochromatic
#0332DF #2351FC #5F81FD #9BB1FE #D8E0FF
Accessibility & contrast
On white
3.47
#5F81FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#5F81FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F81FD
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F81FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F81FD | 1.00 | 3.47 | 6.04 | 6.04 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#1483FA
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5f81fd; /* rgb */ color: rgb(95, 129, 253); /* oklch */ color: oklch(64.1% 0.188 269.0);
Tailwind
colors: {
custom: {
50: '#9aa5ff',
500: '#5f81fd',
950: '#000000',
},
}SCSS
$custom: #5f81fd; $custom-light: #9aa5ff; $custom-dark: #000000;
JSON
{
"hex": "#5f81fd",
"rgb": {
"r": 95,
"g": 129,
"b": 253
},
"hsl": {
"h": 227.089,
"s": 97.531,
"l": 68.235
},
"oklch": {
"l": 0.64125,
"c": 0.18776,
"h": 269
},
"luminance": 0.25225
}Semantic roles & 50–950 ramp
primary
#5F81FD
secondary
#F4EAC4
accent
#B400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86