#5185FC#5185FC
#5185FC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.186 H 264.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5185FC |
|---|---|
| RGB | rgb(81, 133, 252) |
| HSL | hsl(222, 97%, 65%) |
| HSV | hsv(222, 68%, 99%) |
| CMYK | cmyk(67.9%, 47.2%, 0%, 1.2%) |
| CIE-LAB | lab(57.61, 20.67, -64.51) |
| CIE-LCH | lch(57.61, 67.74, 287.76°) |
| OKLab | oklab(64.17% -0.0191 -0.1849) |
| OKLCH | oklch(64.17% 0.186 264.1) |
| XYZ | xyz(29.3454, 25.5497, 95.4616) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.96
Soft Blue
#6488EA
ΔE00 2.69
Lightish Blue
#3D7AFD
ΔE00 3.60
Clear Blue
#247AFD
ΔE00 4.39
Azure
#007FFF
ΔE00 4.58
Cornflowerblue
#6495ED
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5185FC #FCC851
analogous
#51DBFC #5185FC #7251FC
triadic
#5185FC #FC5185 #85FC51
tetradic
#5185FC #FC51DB #FCC851 #51FC72
square
#5185FC #FC51DB #FCC851 #51FC72
split-complementary
#5185FC #FC7251 #DBFC51
monochromatic
#0441CF #155BFB #5185FC #8DAFFD #C9D9FE
Accessibility & contrast
On white
3.44
#5185FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#5185FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5185FC
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5185FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5185FC | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#1A83FA
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5185fc; /* rgb */ color: rgb(81, 133, 252); /* oklch */ color: oklch(64.2% 0.186 264.1);
Tailwind
colors: {
custom: {
50: '#94a7fe',
500: '#5185fc',
950: '#000000',
},
}SCSS
$custom: #5185fc; $custom-light: #94a7fe; $custom-dark: #000000;
JSON
{
"hex": "#5185fc",
"rgb": {
"r": 81,
"g": 133,
"b": 252
},
"hsl": {
"h": 221.754,
"s": 96.61,
"l": 65.294
},
"oklch": {
"l": 0.64167,
"c": 0.1859,
"h": 264.1
},
"luminance": 0.25553
}Semantic roles & 50–950 ramp
primary
#5185FC
secondary
#F1E0B8
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86