#5F7BF0#5F7BF0
#5F7BF0 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.1% C 0.178 H 270.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7BF0 |
|---|---|
| RGB | rgb(95, 123, 240) |
| HSL | hsl(228, 83%, 66%) |
| HSV | hsv(228, 60%, 94%) |
| CMYK | cmyk(60.4%, 48.7%, 0%, 5.9%) |
| CIE-LAB | lab(54.96, 24.95, -62.10) |
| CIE-LCH | lch(54.96, 66.92, 291.89°) |
| OKLab | oklab(62.1% 0.0012 -0.1777) |
| OKLCH | oklch(62.1% 0.178 270.4) |
| XYZ | xyz(27.5252, 22.8878, 85.3885) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.39
Lightish Blue
#3D7AFD
ΔE00 3.76
Soft Blue
#6488EA
ΔE00 4.30
Dodger Blue
#3E82FC
ΔE00 5.19
Cornflower Blue
#5170D7
ΔE00 5.27
Clear Blue
#247AFD
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7BF0 #F0D45F
analogous
#5FC3F0 #5F7BF0 #8B5FF0
triadic
#5F7BF0 #F05F7B #7BF05F
tetradic
#5F7BF0 #F05FC3 #F0D45F #5FF08B
square
#5F7BF0 #F05FC3 #F0D45F #5FF08B
split-complementary
#5F7BF0 #F08B5F #C3F05F
monochromatic
#1234C2 #274DEB #5F7BF0 #97A9F5 #CFD7FA
Accessibility & contrast
On white
3.76
#5F7BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#5F7BF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7BF0
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7BF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7BF0 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8AF4
Deuteranopia (green-blind)
#1F7DEE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5f7bf0; /* rgb */ color: rgb(95, 123, 240); /* oklch */ color: oklch(62.1% 0.178 270.4);
Tailwind
colors: {
custom: {
50: '#99a0f6',
500: '#5f7bf0',
950: '#000000',
},
}SCSS
$custom: #5f7bf0; $custom-light: #99a0f6; $custom-dark: #000000;
JSON
{
"hex": "#5f7bf0",
"rgb": {
"r": 95,
"g": 123,
"b": 240
},
"hsl": {
"h": 228.414,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.62096,
"c": 0.17768,
"h": 270.4
},
"luminance": 0.2289
}Semantic roles & 50–950 ramp
primary
#5F7BF0
secondary
#EEE4BD
accent
#B506DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85