#5D81F2#5D81F2
#5D81F2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.174 H 267.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5D81F2 |
|---|---|
| RGB | rgb(93, 129, 242) |
| HSL | hsl(226, 85%, 66%) |
| HSV | hsv(226, 62%, 95%) |
| CMYK | cmyk(61.6%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(56.52, 21.62, -60.70) |
| CIE-LCH | lch(56.52, 64.43, 289.61°) |
| OKLab | oklab(63.3% -0.0063 -0.1735) |
| OKLCH | oklch(63.3% 0.174 267.9) |
| XYZ | xyz(28.3860, 24.4360, 87.2079) |
| Luminance | 0.2444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.37
Lightish Blue
#3D7AFD
ΔE00 3.51
Dodger Blue
#3E82FC
ΔE00 3.64
Cornflower
#6A79F7
ΔE00 4.02
Clear Blue
#247AFD
ΔE00 4.97
Azure
#007FFF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D81F2 #F2CE5D
analogous
#5DCCF2 #5D81F2 #835DF2
triadic
#5D81F2 #F25D81 #81F25D
tetradic
#5D81F2 #F25DCC #F2CE5D #5DF283
square
#5D81F2 #F25DCC #F2CE5D #5DF283
split-complementary
#5D81F2 #F2835D #CCF25D
monochromatic
#103CC5 #2455ED #5D81F2 #96ADF7 #CED9FB
Accessibility & contrast
On white
3.57
#5D81F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#5D81F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D81F2
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D81F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D81F2 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#2D81F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5d81f2; /* rgb */ color: rgb(93, 129, 242); /* oklch */ color: oklch(63.3% 0.174 267.9);
Tailwind
colors: {
custom: {
50: '#98a5f7',
500: '#5d81f2',
950: '#000000',
},
}SCSS
$custom: #5d81f2; $custom-light: #98a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5d81f2",
"rgb": {
"r": 93,
"g": 129,
"b": 242
},
"hsl": {
"h": 225.503,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.63297,
"c": 0.17366,
"h": 267.9
},
"luminance": 0.24438
}Semantic roles & 50–950 ramp
primary
#5D81F2
secondary
#EEE2BD
accent
#AC04E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85