#5E81F7#5E81F7
#5E81F7 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.7% C 0.180 H 268.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5E81F7 |
|---|---|
| RGB | rgb(94, 129, 247) |
| HSL | hsl(226, 91%, 67%) |
| HSV | hsv(226, 62%, 97%) |
| CMYK | cmyk(61.9%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(56.87, 23.46, -62.90) |
| CIE-LCH | lch(56.87, 67.13, 290.45°) |
| OKLab | oklab(63.68% -0.0048 -0.18) |
| OKLCH | oklch(63.68% 0.18 268.5) |
| XYZ | xyz(29.2491, 24.7930, 91.2218) |
| Luminance | 0.2480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.64
Lightish Blue
#3D7AFD
ΔE00 3.66
Cornflower
#6A79F7
ΔE00 3.72
Dodger Blue
#3E82FC
ΔE00 3.87
Clear Blue
#247AFD
ΔE00 5.22
Azure
#007FFF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E81F7 #F7D45E
analogous
#5ECDF7 #5E81F7 #885EF7
triadic
#5E81F7 #F75E81 #81F75E
tetradic
#5E81F7 #F75ECD #F7D45E #5EF788
square
#5E81F7 #F75ECD #F7D45E #5EF788
split-complementary
#5E81F7 #F7885E #CDF75E
monochromatic
#0A38D0 #2453F4 #5E81F7 #98AFFA #D3DCFD
Accessibility & contrast
On white
3.52
#5E81F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#5E81F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E81F7
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E81F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E81F7 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#2482F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5e81f7; /* rgb */ color: rgb(94, 129, 247); /* oklch */ color: oklch(63.7% 0.180 268.5);
Tailwind
colors: {
custom: {
50: '#99a5fa',
500: '#5e81f7',
950: '#000000',
},
}SCSS
$custom: #5e81f7; $custom-light: #99a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5e81f7",
"rgb": {
"r": 94,
"g": 129,
"b": 247
},
"hsl": {
"h": 226.275,
"s": 90.533,
"l": 66.863
},
"oklch": {
"l": 0.63675,
"c": 0.18005,
"h": 268.5
},
"luminance": 0.24796
}Semantic roles & 50–950 ramp
primary
#5E81F7
secondary
#F1E6C0
accent
#B100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85