#5A7FC2#5A7FC2
#5A7FC2 is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.9% C 0.111 H 261.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FC2 |
|---|---|
| RGB | rgb(90, 127, 194) |
| HSL | hsl(219, 46%, 56%) |
| HSV | hsv(219, 54%, 76%) |
| CMYK | cmyk(53.6%, 34.5%, 0%, 23.9%) |
| CIE-LAB | lab(53.22, 6.49, -38.96) |
| CIE-LCH | lch(53.22, 39.50, 279.46°) |
| OKLab | oklab(59.87% -0.0162 -0.1099) |
| OKLCH | oklch(59.87% 0.111 261.6) |
| XYZ | xyz(21.5401, 21.2458, 53.9943) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.64
Faded Blue
#658CBB
ΔE00 4.71
Dusty Blue
#5A86AD
ΔE00 5.06
Cool Blue
#4984B8
ΔE00 5.36
Windows Blue
#3778BF
ΔE00 5.51
Soft Blue
#6488EA
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FC2 #C29D5A
analogous
#5AB3C2 #5A7FC2 #695AC2
triadic
#5A7FC2 #C25A7F #7FC25A
tetradic
#5A7FC2 #C25AB3 #C29D5A #5AC269
square
#5A7FC2 #C25AB3 #C29D5A #5AC269
split-complementary
#5A7FC2 #C2695A #B3C25A
monochromatic
#2C4676 #3C61A3 #5A7FC2 #87A2D3 #B3C4E3
Accessibility & contrast
On white
4.00
#5A7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5A7FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FC2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FC2 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6484C5
Deuteranopia (green-blind)
#587BC1
Tritanopia (blue-blind)
#228E97
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a7fc2; /* rgb */ color: rgb(90, 127, 194); /* oklch */ color: oklch(59.9% 0.111 261.6);
Tailwind
colors: {
custom: {
50: '#8fa3d5',
500: '#5a7fc2',
950: '#000000',
},
}SCSS
$custom: #5a7fc2; $custom-light: #8fa3d5; $custom-dark: #000000;
JSON
{
"hex": "#5a7fc2",
"rgb": {
"r": 90,
"g": 127,
"b": 194
},
"hsl": {
"h": 218.654,
"s": 46.018,
"l": 55.686
},
"oklch": {
"l": 0.59865,
"c": 0.11114,
"h": 261.6
},
"luminance": 0.21247
}Semantic roles & 50–950 ramp
primary
#5A7FC2
secondary
#D2C2A6
accent
#A752D6
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F14
muted
#7E7F83