#5F81DF#5F81DF
#5F81DF is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.2% C 0.147 H 267.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F81DF |
|---|---|
| RGB | rgb(95, 129, 223) |
| HSL | hsl(224, 67%, 62%) |
| HSV | hsv(224, 57%, 87%) |
| CMYK | cmyk(57.4%, 42.2%, 0%, 12.5%) |
| CIE-LAB | lab(55.54, 15.72, -51.67) |
| CIE-LCH | lch(55.54, 54.01, 286.92°) |
| OKLab | oklab(62.22% -0.0074 -0.147) |
| OKLCH | oklch(62.22% 0.147 267.1) |
| XYZ | xyz(25.8844, 23.4591, 72.9618) |
| Luminance | 0.2346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.59
Dodger Blue
#3E82FC
ΔE00 4.38
Lightish Blue
#3D7AFD
ΔE00 4.41
Cornflower
#6A79F7
ΔE00 5.09
Faded Blue
#658CBB
ΔE00 5.37
Clear Blue
#247AFD
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F81DF #DFBD5F
analogous
#5FC1DF #5F81DF #7D5FDF
triadic
#5F81DF #DF5F81 #81DF5F
tetradic
#5F81DF #DF5FC1 #DFBD5F #5FDF7D
square
#5F81DF #DF5FC1 #DFBD5F #5FDF7D
split-complementary
#5F81DF #DF7D5F #C1DF5F
monochromatic
#2143A3 #2C59D5 #5F81DF #92A9E9 #C5D1F3
Accessibility & contrast
On white
3.69
#5F81DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#5F81DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F81DF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F81DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F81DF | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#588BE3
Deuteranopia (green-blind)
#4780DD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5f81df; /* rgb */ color: rgb(95, 129, 223); /* oklch */ color: oklch(62.2% 0.147 267.1);
Tailwind
colors: {
custom: {
50: '#96a5e9',
500: '#5f81df',
950: '#000000',
},
}SCSS
$custom: #5f81df; $custom-light: #96a5e9; $custom-dark: #000000;
JSON
{
"hex": "#5f81df",
"rgb": {
"r": 95,
"g": 129,
"b": 223
},
"hsl": {
"h": 224.063,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.62225,
"c": 0.14716,
"h": 267.1
},
"luminance": 0.23461
}Semantic roles & 50–950 ramp
primary
#5F81DF
secondary
#E4D8B6
accent
#9E17CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84