#5F85F2#5F85F2
#5F85F2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.2% C 0.168 H 267.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5F85F2 |
|---|---|
| RGB | rgb(95, 133, 242) |
| HSL | hsl(224, 85%, 66%) |
| HSV | hsv(224, 61%, 95%) |
| CMYK | cmyk(60.7%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(57.67, 19.56, -58.85) |
| CIE-LCH | lch(57.67, 62.01, 288.38°) |
| OKLab | oklab(64.2% -0.0084 -0.168) |
| OKLCH | oklch(64.2% 0.168 267.1) |
| XYZ | xyz(29.1284, 25.6163, 87.3966) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.30
Dodger Blue
#3E82FC
ΔE00 3.51
Lightish Blue
#3D7AFD
ΔE00 4.29
Cornflower
#6A79F7
ΔE00 5.02
Cornflowerblue
#6495ED
ΔE00 5.22
Clear Blue
#247AFD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F85F2 #F2CC5F
analogous
#5FCEF2 #5F85F2 #825FF2
triadic
#5F85F2 #F25F85 #85F25F
tetradic
#5F85F2 #F25FCE #F2CC5F #5FF282
square
#5F85F2 #F25FCE #F2CC5F #5FF282
split-complementary
#5F85F2 #F2825F #CEF25F
monochromatic
#103FC6 #265AED #5F85F2 #98B0F7 #D0DBFB
Accessibility & contrast
On white
3.43
#5F85F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#5F85F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F85F2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F85F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F85F2 | 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)
#5192F6
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5f85f2; /* rgb */ color: rgb(95, 133, 242); /* oklch */ color: oklch(64.2% 0.168 267.1);
Tailwind
colors: {
custom: {
50: '#98a8f7',
500: '#5f85f2',
950: '#000000',
},
}SCSS
$custom: #5f85f2; $custom-light: #98a8f7; $custom-dark: #000000;
JSON
{
"hex": "#5f85f2",
"rgb": {
"r": 95,
"g": 133,
"b": 242
},
"hsl": {
"h": 224.49,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.64203,
"c": 0.16823,
"h": 267.1
},
"luminance": 0.25619
}Semantic roles & 50–950 ramp
primary
#5F85F2
secondary
#EFE2BE
accent
#A804E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85