#5A7CED#5A7CED

#5A7CED is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.174 H 268.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5A7CED
RGBrgb(90, 124, 237)
HSLhsl(226, 80%, 64%)
HSVhsv(226, 62%, 93%)
CMYKcmyk(62%, 47.7%, 0%, 7.1%)
CIE-LABlab(54.76, 22.47, -60.75)
CIE-LCHlch(54.76, 64.77, 290.30°)
OKLaboklab(61.82% -0.005 -0.1738)
OKLCHoklch(61.82% 0.174 268.4)
XYZxyz(26.7050, 22.7011, 83.0788)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7CED #EDCB5A
analogous
#5AC6ED #5A7CED #825AED
triadic
#5A7CED #ED5A7C #7CED5A
tetradic
#5A7CED #ED5AC6 #EDCB5A #5AED82
square
#5A7CED #ED5AC6 #EDCB5A #5AED82
split-complementary
#5A7CED #ED825A #C6ED5A
monochromatic
#143AB8 #2350E7 #5A7CED #91A8F3 #C8D4F9

Accessibility & contrast

On white

3.79
#5A7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5A7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7CED
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7CED#FFFFFF#000000##000000
##5A7CED1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF1
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5a7ced;
/* rgb */ color: rgb(90, 124, 237);
/* oklch */ color: oklch(61.8% 0.174 268.4);
Tailwind
colors: {
  custom: {
    50: '#96a1f3',
    500: '#5a7ced',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ced;
$custom-light: #96a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ced",
  "rgb": {
    "r": 90,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 226.122,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.17389,
    "h": 268.4
  },
  "luminance": 0.22703
}

Semantic roles & 50–950 ramp

primary
#5A7CED
secondary
#EBDFB8
accent
#AC09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A7CED

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5A7CED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva