#5F7BF1#5F7BF1
#5F7BF1 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.2% C 0.179 H 270.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7BF1 |
|---|---|
| RGB | rgb(95, 123, 241) |
| HSL | hsl(228, 84%, 66%) |
| HSV | hsv(228, 61%, 95%) |
| CMYK | cmyk(60.6%, 49%, 0%, 5.5%) |
| CIE-LAB | lab(55.02, 25.28, -62.55) |
| CIE-LCH | lch(55.02, 67.47, 292.01°) |
| OKLab | oklab(62.16% 0.0013 -0.179) |
| OKLCH | oklch(62.16% 0.179 270.4) |
| XYZ | xyz(27.6741, 22.9474, 86.1730) |
| Luminance | 0.2295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.32
Lightish Blue
#3D7AFD
ΔE00 3.75
Soft Blue
#6488EA
ΔE00 4.32
Dodger Blue
#3E82FC
ΔE00 5.19
Cornflower Blue
#5170D7
ΔE00 5.35
Clear Blue
#247AFD
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7BF1 #F1D55F
analogous
#5FC4F1 #5F7BF1 #8C5FF1
triadic
#5F7BF1 #F15F7B #7BF15F
tetradic
#5F7BF1 #F15FC4 #F1D55F #5FF18C
square
#5F7BF1 #F15FC4 #F1D55F #5FF18C
split-complementary
#5F7BF1 #F18C5F #C4F15F
monochromatic
#1134C4 #274DEC #5F7BF1 #97A9F6 #D0D8FB
Accessibility & contrast
On white
3.76
#5F7BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#5F7BF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7BF1
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7BF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7BF1 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C8AF5
Deuteranopia (green-blind)
#1D7EEF
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5f7bf1; /* rgb */ color: rgb(95, 123, 241); /* oklch */ color: oklch(62.2% 0.179 270.4);
Tailwind
colors: {
custom: {
50: '#99a0f6',
500: '#5f7bf1',
950: '#000000',
},
}SCSS
$custom: #5f7bf1; $custom-light: #99a0f6; $custom-dark: #000000;
JSON
{
"hex": "#5f7bf1",
"rgb": {
"r": 95,
"g": 123,
"b": 241
},
"hsl": {
"h": 228.493,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.62162,
"c": 0.17903,
"h": 270.4
},
"luminance": 0.2295
}Semantic roles & 50–950 ramp
primary
#5F7BF1
secondary
#EEE5BE
accent
#B605E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85