#5F7AEE#5F7AEE
#5F7AEE is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.176 H 270.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7AEE |
|---|---|
| RGB | rgb(95, 122, 238) |
| HSL | hsl(229, 81%, 65%) |
| HSV | hsv(229, 60%, 93%) |
| CMYK | cmyk(60.1%, 48.7%, 0%, 6.7%) |
| CIE-LAB | lab(54.58, 24.90, -61.59) |
| CIE-LCH | lch(54.58, 66.44, 292.01°) |
| OKLab | oklab(61.77% 0.0019 -0.1762) |
| OKLCH | oklch(61.77% 0.176 270.6) |
| XYZ | xyz(27.1063, 22.5228, 83.7912) |
| Luminance | 0.2253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.39
Lightish Blue
#3D7AFD
ΔE00 3.89
Soft Blue
#6488EA
ΔE00 4.60
Cornflower Blue
#5170D7
ΔE00 4.90
Dodger Blue
#3E82FC
ΔE00 5.45
Clear Blue
#247AFD
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7AEE #EED35F
analogous
#5FC2EE #5F7AEE #8B5FEE
triadic
#5F7AEE #EE5F7A #7AEE5F
tetradic
#5F7AEE #EE5FC2 #EED35F #5FEE8B
square
#5F7AEE #EE5FC2 #EED35F #5FEE8B
split-complementary
#5F7AEE #EE8B5F #C2EE5F
monochromatic
#1434BE #284CE8 #5F7AEE #96A8F4 #CED6FA
Accessibility & contrast
On white
3.81
#5F7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#5F7AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7AEE
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7AEE | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#207DEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5f7aee; /* rgb */ color: rgb(95, 122, 238); /* oklch */ color: oklch(61.8% 0.176 270.6);
Tailwind
colors: {
custom: {
50: '#98a0f4',
500: '#5f7aee',
950: '#000000',
},
}SCSS
$custom: #5f7aee; $custom-light: #98a0f4; $custom-dark: #000000;
JSON
{
"hex": "#5f7aee",
"rgb": {
"r": 95,
"g": 122,
"b": 238
},
"hsl": {
"h": 228.671,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.61769,
"c": 0.17622,
"h": 270.6
},
"luminance": 0.22525
}Semantic roles & 50–950 ramp
primary
#5F7AEE
secondary
#ECE3BC
accent
#B508DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85