#5F7FE1#5F7FE1
#5F7FE1 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.152 H 268.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7FE1 |
|---|---|
| RGB | rgb(95, 127, 225) |
| HSL | hsl(225, 68%, 63%) |
| HSV | hsv(225, 58%, 88%) |
| CMYK | cmyk(57.8%, 43.6%, 0%, 11.8%) |
| CIE-LAB | lab(55.12, 17.59, -53.46) |
| CIE-LCH | lch(55.12, 56.28, 288.21°) |
| OKLab | oklab(61.94% -0.0049 -0.1523) |
| OKLCH | oklch(61.94% 0.152 268.1) |
| XYZ | xyz(25.8947, 23.0458, 74.3033) |
| Luminance | 0.2305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.08
Lightish Blue
#3D7AFD
ΔE00 4.20
Cornflower
#6A79F7
ΔE00 4.47
Dodger Blue
#3E82FC
ΔE00 4.64
Cornflower Blue
#5170D7
ΔE00 5.37
Clear Blue
#247AFD
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7FE1 #E1C15F
analogous
#5FC0E1 #5F7FE1 #805FE1
triadic
#5F7FE1 #E15F7F #7FE15F
tetradic
#5F7FE1 #E15FC0 #E1C15F #5FE180
square
#5F7FE1 #E15FC0 #E1C15F #5FE180
split-complementary
#5F7FE1 #E1805F #C0E15F
monochromatic
#1F40A6 #2B56D7 #5F7FE1 #93A8EB #C6D1F4
Accessibility & contrast
On white
3.74
#5F7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#5F7FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7FE1
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7FE1 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538AE5
Deuteranopia (green-blind)
#417FDF
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5f7fe1; /* rgb */ color: rgb(95, 127, 225); /* oklch */ color: oklch(61.9% 0.152 268.1);
Tailwind
colors: {
custom: {
50: '#96a3eb',
500: '#5f7fe1',
950: '#000000',
},
}SCSS
$custom: #5f7fe1; $custom-light: #96a3eb; $custom-dark: #000000;
JSON
{
"hex": "#5f7fe1",
"rgb": {
"r": 95,
"g": 127,
"b": 225
},
"hsl": {
"h": 225.231,
"s": 68.421,
"l": 62.745
},
"oklch": {
"l": 0.61936,
"c": 0.15234,
"h": 268.1
},
"luminance": 0.23048
}Semantic roles & 50–950 ramp
primary
#5F7FE1
secondary
#E5DAB6
accent
#A215D0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84