#5F7BEC#5F7BEC
#5F7BEC is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.172 H 270.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7BEC |
|---|---|
| RGB | rgb(95, 123, 236) |
| HSL | hsl(228, 79%, 65%) |
| HSV | hsv(228, 60%, 93%) |
| CMYK | cmyk(59.7%, 47.9%, 0%, 7.5%) |
| CIE-LAB | lab(54.71, 23.63, -60.26) |
| CIE-LCH | lch(54.71, 64.73, 291.41°) |
| OKLab | oklab(61.83% 0.0007 -0.1723) |
| OKLCH | oklch(61.83% 0.172 270.2) |
| XYZ | xyz(26.9375, 22.6527, 82.2935) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.70
Lightish Blue
#3D7AFD
ΔE00 3.83
Soft Blue
#6488EA
ΔE00 4.25
Cornflower Blue
#5170D7
ΔE00 4.94
Dodger Blue
#3E82FC
ΔE00 5.22
Clear Blue
#247AFD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7BEC #ECD05F
analogous
#5FC2EC #5F7BEC #895FEC
triadic
#5F7BEC #EC5F7B #7BEC5F
tetradic
#5F7BEC #EC5FC2 #ECD05F #5FEC89
square
#5F7BEC #EC5FC2 #ECD05F #5FEC89
split-complementary
#5F7BEC #EC895F #C2EC5F
monochromatic
#1637BA #284EE6 #5F7BEC #96A8F2 #CCD5F9
Accessibility & contrast
On white
3.80
#5F7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#5F7BEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7BEC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7BEC | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4289F0
Deuteranopia (green-blind)
#287DEA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5f7bec; /* rgb */ color: rgb(95, 123, 236); /* oklch */ color: oklch(61.8% 0.172 270.2);
Tailwind
colors: {
custom: {
50: '#98a0f3',
500: '#5f7bec',
950: '#000000',
},
}SCSS
$custom: #5f7bec; $custom-light: #98a0f3; $custom-dark: #000000;
JSON
{
"hex": "#5f7bec",
"rgb": {
"r": 95,
"g": 123,
"b": 236
},
"hsl": {
"h": 228.085,
"s": 78.771,
"l": 64.902
},
"oklch": {
"l": 0.61833,
"c": 0.17229,
"h": 270.2
},
"luminance": 0.22655
}Semantic roles & 50–950 ramp
primary
#5F7BEC
secondary
#EBE2BB
accent
#B20ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85