#5A7BED#5A7BED
#5A7BED is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.175 H 268.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7BED |
|---|---|
| RGB | rgb(90, 123, 237) |
| HSL | hsl(227, 80%, 64%) |
| HSV | hsv(227, 62%, 93%) |
| CMYK | cmyk(62%, 48.1%, 0%, 7.1%) |
| CIE-LAB | lab(54.50, 23.08, -61.17) |
| CIE-LCH | lch(54.50, 65.38, 290.67°) |
| OKLab | oklab(61.62% -0.004 -0.1751) |
| OKLCH | oklch(61.62% 0.175 268.7) |
| XYZ | xyz(26.5803, 22.4517, 83.0372) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.11
Cornflower
#6A79F7
ΔE00 3.32
Soft Blue
#6488EA
ΔE00 4.17
Dodger Blue
#3E82FC
ΔE00 4.57
Clear Blue
#247AFD
ΔE00 4.72
Cornflower Blue
#5170D7
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7BED #EDCC5A
analogous
#5AC4ED #5A7BED #835AED
triadic
#5A7BED #ED5A7B #7BED5A
tetradic
#5A7BED #ED5AC4 #EDCC5A #5AED83
square
#5A7BED #ED5AC4 #EDCC5A #5AED83
split-complementary
#5A7BED #ED835A #C4ED5A
monochromatic
#1439B8 #234FE7 #5A7BED #91A7F3 #C8D3F9
Accessibility & contrast
On white
3.82
#5A7BED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#5A7BED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7BED
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7BED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7BED | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4089F1
Deuteranopia (green-blind)
#217CEB
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5a7bed; /* rgb */ color: rgb(90, 123, 237); /* oklch */ color: oklch(61.6% 0.175 268.7);
Tailwind
colors: {
custom: {
50: '#96a0f3',
500: '#5a7bed',
950: '#000000',
},
}SCSS
$custom: #5a7bed; $custom-light: #96a0f3; $custom-dark: #000000;
JSON
{
"hex": "#5a7bed",
"rgb": {
"r": 90,
"g": 123,
"b": 237
},
"hsl": {
"h": 226.531,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.61621,
"c": 0.17511,
"h": 268.7
},
"luminance": 0.22454
}Semantic roles & 50–950 ramp
primary
#5A7BED
secondary
#EBE0B8
accent
#AD09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85