#5F7FFE#5F7FFE
#5F7FFE is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.8% C 0.191 H 269.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7FFE |
|---|---|
| RGB | rgb(95, 127, 254) |
| HSL | hsl(228, 99%, 68%) |
| HSV | hsv(228, 63%, 100%) |
| CMYK | cmyk(62.6%, 50%, 0%, 0.4%) |
| CIE-LAB | lab(56.85, 27.17, -66.80) |
| CIE-LCH | lch(56.85, 72.12, 292.13°) |
| OKLab | oklab(63.81% -0.0012 -0.1915) |
| OKLCH | oklch(63.81% 0.191 269.6) |
| XYZ | xyz(30.1920, 24.7647, 96.9357) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.95
Soft Blue
#6488EA
ΔE00 3.69
Lightish Blue
#3D7AFD
ΔE00 3.89
Dodger Blue
#3E82FC
ΔE00 4.59
Clear Blue
#247AFD
ΔE00 5.62
Azure
#007FFF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7FFE #FEDE5F
analogous
#5FCEFE #5F7FFE #8E5FFE
triadic
#5F7FFE #FE5F7F #7FFE5F
tetradic
#5F7FFE #FE5FCE #FEDE5F #5FFE8E
square
#5F7FFE #FE5FCE #FEDE5F #5FFE8E
split-complementary
#5F7FFE #FE8E5F #CEFE5F
monochromatic
#012EE1 #224EFE #5F7FFE #9CB0FE #D9E0FF
Accessibility & contrast
On white
3.53
#5F7FFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#5F7FFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7FFE
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7FFE | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#009DB3
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5f7ffe; /* rgb */ color: rgb(95, 127, 254); /* oklch */ color: oklch(63.8% 0.191 269.6);
Tailwind
colors: {
custom: {
50: '#9ba3ff',
500: '#5f7ffe',
950: '#000000',
},
}SCSS
$custom: #5f7ffe; $custom-light: #9ba3ff; $custom-dark: #000000;
JSON
{
"hex": "#5f7ffe",
"rgb": {
"r": 95,
"g": 127,
"b": 254
},
"hsl": {
"h": 227.925,
"s": 98.758,
"l": 68.431
},
"oklch": {
"l": 0.63806,
"c": 0.19149,
"h": 269.6
},
"luminance": 0.24767
}Semantic roles & 50–950 ramp
primary
#5F7FFE
secondary
#F4EBC4
accent
#B700E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86