#5F7AEC#5F7AEC
#5F7AEC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.174 H 270.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7AEC |
|---|---|
| RGB | rgb(95, 122, 236) |
| HSL | hsl(229, 79%, 65%) |
| HSV | hsv(229, 60%, 93%) |
| CMYK | cmyk(59.7%, 48.3%, 0%, 7.5%) |
| CIE-LAB | lab(54.45, 24.24, -60.67) |
| CIE-LCH | lch(54.45, 65.34, 291.78°) |
| OKLab | oklab(61.64% 0.0017 -0.1735) |
| OKLCH | oklch(61.64% 0.174 270.6) |
| XYZ | xyz(26.8141, 22.4059, 82.2524) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.56
Lightish Blue
#3D7AFD
ΔE00 3.94
Soft Blue
#6488EA
ΔE00 4.59
Cornflower Blue
#5170D7
ΔE00 4.73
Dodger Blue
#3E82FC
ΔE00 5.47
Clear Blue
#247AFD
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7AEC #ECD15F
analogous
#5FC0EC #5F7AEC #8B5FEC
triadic
#5F7AEC #EC5F7A #7AEC5F
tetradic
#5F7AEC #EC5FC0 #ECD15F #5FEC8B
square
#5F7AEC #EC5FC0 #ECD15F #5FEC8B
split-complementary
#5F7AEC #EC8B5F #C0EC5F
monochromatic
#1636BA #284DE6 #5F7AEC #96A7F2 #CCD5F9
Accessibility & contrast
On white
3.83
#5F7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#5F7AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7AEC
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7AEC | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#257CEA
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f7aec; /* rgb */ color: rgb(95, 122, 236); /* oklch */ color: oklch(61.6% 0.174 270.6);
Tailwind
colors: {
custom: {
50: '#98a0f3',
500: '#5f7aec',
950: '#000000',
},
}SCSS
$custom: #5f7aec; $custom-light: #98a0f3; $custom-dark: #000000;
JSON
{
"hex": "#5f7aec",
"rgb": {
"r": 95,
"g": 122,
"b": 236
},
"hsl": {
"h": 228.511,
"s": 78.771,
"l": 64.902
},
"oklch": {
"l": 0.61637,
"c": 0.17352,
"h": 270.6
},
"luminance": 0.22408
}Semantic roles & 50–950 ramp
primary
#5F7AEC
secondary
#EBE2BB
accent
#B30ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85