#5185FD#5185FD
#5185FD is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.187 H 264.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5185FD |
|---|---|
| RGB | rgb(81, 133, 253) |
| HSL | hsl(222, 98%, 65%) |
| HSV | hsv(222, 68%, 99%) |
| CMYK | cmyk(68%, 47.4%, 0%, 0.8%) |
| CIE-LAB | lab(57.67, 21.01, -64.96) |
| CIE-LCH | lch(57.67, 68.28, 287.92°) |
| OKLab | oklab(64.23% -0.0189 -0.1862) |
| OKLCH | oklch(64.23% 0.187 264.2) |
| XYZ | xyz(29.5043, 25.6133, 96.2984) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.02
Soft Blue
#6488EA
ΔE00 2.74
Lightish Blue
#3D7AFD
ΔE00 3.62
Clear Blue
#247AFD
ΔE00 4.43
Azure
#007FFF
ΔE00 4.64
Cornflowerblue
#6495ED
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185FD #FDC951
analogous
#51DBFD #5185FD #7351FD
triadic
#5185FD #FD5185 #85FD51
tetradic
#5185FD #FD51DB #FDC951 #51FD73
square
#5185FD #FD51DB #FDC951 #51FD73
split-complementary
#5185FD #FD7351 #DBFD51
monochromatic
#0241D1 #145BFC #5185FD #8EAFFE #CADAFE
Accessibility & contrast
On white
3.43
#5185FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#5185FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185FD
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185FD | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#1683FB
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5185fd; /* rgb */ color: rgb(81, 133, 253); /* oklch */ color: oklch(64.2% 0.187 264.2);
Tailwind
colors: {
custom: {
50: '#94a7ff',
500: '#5185fd',
950: '#000000',
},
}SCSS
$custom: #5185fd; $custom-light: #94a7ff; $custom-dark: #000000;
JSON
{
"hex": "#5185fd",
"rgb": {
"r": 81,
"g": 133,
"b": 253
},
"hsl": {
"h": 221.86,
"s": 97.727,
"l": 65.49
},
"oklch": {
"l": 0.64233,
"c": 0.18721,
"h": 264.2
},
"luminance": 0.25616
}Semantic roles & 50–950 ramp
primary
#5185FD
secondary
#F2E0B8
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86