#5A7CCD#5A7CCD

#5A7CCD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.130 H 265.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A7CCD
RGBrgb(90, 124, 205)
HSLhsl(222, 53%, 58%)
HSVhsv(222, 56%, 80%)
CMYKcmyk(56.1%, 39.5%, 0%, 19.6%)
CIE-LABlab(52.94, 11.85, -45.66)
CIE-LCHlch(52.94, 47.17, 284.56°)
OKLaboklab(59.84% -0.0102 -0.1295)
OKLCHoklch(59.84% 0.13 265.5)
XYZxyz(22.4398, 20.9950, 60.6157)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7CCD #CDAB5A
analogous
#5AB5CD #5A7CCD #725ACD
triadic
#5A7CCD #CD5A7C #7CCD5A
tetradic
#5A7CCD #CD5AB5 #CDAB5A #5ACD72
square
#5A7CCD #CD5AB5 #CDAB5A #5ACD72
split-complementary
#5A7CCD #CD725A #B5CD5A
monochromatic
#284384 #365BB3 #5A7CCD #89A1DB #B8C7E9

Accessibility & contrast

On white

4.04
#5A7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5A7CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7CCD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7CCD#FFFFFF#000000##000000
##5A7CCD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#0C8E9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a7ccd;
/* rgb */ color: rgb(90, 124, 205);
/* oklch */ color: oklch(59.8% 0.130 265.5);
Tailwind
colors: {
  custom: {
    50: '#91a1dc',
    500: '#5a7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ccd;
$custom-light: #91a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ccd",
  "rgb": {
    "r": 90,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 222.261,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.12992,
    "h": 265.5
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#5A7CCD
secondary
#D8CBAA
accent
#B24BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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