#5E81F2#5E81F2
#5E81F2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.173 H 268.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5E81F2 |
|---|---|
| RGB | rgb(94, 129, 242) |
| HSL | hsl(226, 85%, 66%) |
| HSV | hsv(226, 61%, 95%) |
| CMYK | cmyk(61.2%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(56.57, 21.80, -60.61) |
| CIE-LCH | lch(56.57, 64.41, 289.78°) |
| OKLab | oklab(63.35% -0.0054 -0.1733) |
| OKLCH | oklch(63.35% 0.173 268.2) |
| XYZ | xyz(28.4879, 24.4885, 87.2127) |
| Luminance | 0.2449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.38
Lightish Blue
#3D7AFD
ΔE00 3.63
Dodger Blue
#3E82FC
ΔE00 3.79
Cornflower
#6A79F7
ΔE00 3.90
Clear Blue
#247AFD
ΔE00 5.11
Azure
#007FFF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E81F2 #F2CF5E
analogous
#5ECBF2 #5E81F2 #855EF2
triadic
#5E81F2 #F25E81 #81F25E
tetradic
#5E81F2 #F25ECB #F2CF5E #5EF285
square
#5E81F2 #F25ECB #F2CF5E #5EF285
split-complementary
#5E81F2 #F2855E #CBF25E
monochromatic
#103BC6 #2555ED #5E81F2 #97ADF7 #CFDAFB
Accessibility & contrast
On white
3.56
#5E81F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#5E81F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E81F2
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E81F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E81F2 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#2E81F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5e81f2; /* rgb */ color: rgb(94, 129, 242); /* oklch */ color: oklch(63.4% 0.173 268.2);
Tailwind
colors: {
custom: {
50: '#98a5f7',
500: '#5e81f2',
950: '#000000',
},
}SCSS
$custom: #5e81f2; $custom-light: #98a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5e81f2",
"rgb": {
"r": 94,
"g": 129,
"b": 242
},
"hsl": {
"h": 225.811,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.63351,
"c": 0.17335,
"h": 268.2
},
"luminance": 0.24491
}Semantic roles & 50–950 ramp
primary
#5E81F2
secondary
#EEE3BD
accent
#AD04E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85