#5F7ACE#5F7ACE
#5F7ACE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.132 H 268.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7ACE |
|---|---|
| RGB | rgb(95, 122, 206) |
| HSL | hsl(225, 53%, 59%) |
| HSV | hsv(225, 54%, 81%) |
| CMYK | cmyk(53.9%, 40.8%, 0%, 19.2%) |
| CIE-LAB | lab(52.74, 14.46, -46.54) |
| CIE-LCH | lch(52.74, 48.73, 287.26°) |
| OKLab | oklab(59.77% -0.0029 -0.132) |
| OKLCH | oklch(59.77% 0.132 268.7) |
| XYZ | xyz(22.8157, 20.8066, 61.1943) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.77
Soft Blue
#6488EA
ΔE00 5.73
Cornflower
#6A79F7
ΔE00 5.90
Lightish Blue
#3D7AFD
ΔE00 5.97
Royal Blue
#4169E1
ΔE00 6.55
Faded Blue
#658CBB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7ACE #CEB35F
analogous
#5FB2CE #5F7ACE #7C5FCE
triadic
#5F7ACE #CE5F7A #7ACE5F
tetradic
#5F7ACE #CE5FB2 #CEB35F #5FCE7C
square
#5F7ACE #CE5FB2 #CEB35F #5FCE7C
split-complementary
#5F7ACE #CE7C5F #B2CE5F
monochromatic
#2A4189 #3857B8 #5F7ACE #8EA1DC #BDC8EB
Accessibility & contrast
On white
4.07
#5F7ACE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#5F7ACE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7ACE
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7ACE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7ACE | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#258C9A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f7ace; /* rgb */ color: rgb(95, 122, 206); /* oklch */ color: oklch(59.8% 0.132 268.7);
Tailwind
colors: {
custom: {
50: '#94a0dd',
500: '#5f7ace',
950: '#000000',
},
}SCSS
$custom: #5f7ace; $custom-light: #94a0dd; $custom-dark: #000000;
JSON
{
"hex": "#5f7ace",
"rgb": {
"r": 95,
"g": 122,
"b": 206
},
"hsl": {
"h": 225.405,
"s": 53.11,
"l": 59.02
},
"oklch": {
"l": 0.59769,
"c": 0.13204,
"h": 268.7
},
"luminance": 0.20808
}Semantic roles & 50–950 ramp
primary
#5F7ACE
secondary
#DAD0AF
accent
#B94BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83