#5A7DED#5A7DED

#5A7DED is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.173 H 268.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5A7DED
RGBrgb(90, 125, 237)
HSLhsl(226, 80%, 64%)
HSVhsv(226, 62%, 93%)
CMYKcmyk(62%, 47.3%, 0%, 7.1%)
CIE-LABlab(55.02, 21.86, -60.33)
CIE-LCHlch(55.02, 64.17, 289.92°)
OKLaboklab(62.02% -0.0059 -0.1726)
OKLCHoklch(62.02% 0.173 268)
XYZxyz(26.8309, 22.9530, 83.1208)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DED #EDCA5A
analogous
#5AC7ED #5A7DED #815AED
triadic
#5A7DED #ED5A7D #7DED5A
tetradic
#5A7DED #ED5AC7 #EDCA5A #5AED81
square
#5A7DED #ED5AC7 #EDCA5A #5AED81
split-complementary
#5A7DED #ED815A #C7ED5A
monochromatic
#143BB8 #2352E7 #5A7DED #91A8F3 #C8D4F9

Accessibility & contrast

On white

3.76
#5A7DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5A7DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DED
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DED#FFFFFF#000000##000000
##5A7DED1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF1
Deuteranopia (green-blind)
#287DEB
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a7ded;
/* rgb */ color: rgb(90, 125, 237);
/* oklch */ color: oklch(62.0% 0.173 268.0);
Tailwind
colors: {
  custom: {
    50: '#95a2f3',
    500: '#5a7ded',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ded;
$custom-light: #95a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ded",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 225.714,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.17268,
    "h": 268
  },
  "luminance": 0.22955
}

Semantic roles & 50–950 ramp

primary
#5A7DED
secondary
#EBDFB8
accent
#AA09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5A7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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