#5A7CDA#5A7CDA

#5A7CDA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.6% C 0.148 H 267.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5A7CDA
RGBrgb(90, 124, 218)
HSLhsl(224, 63%, 60%)
HSVhsv(224, 59%, 85%)
CMYKcmyk(58.7%, 43.1%, 0%, 14.5%)
CIE-LABlab(53.65, 16.13, -51.88)
CIE-LCHlch(53.65, 54.33, 287.27°)
OKLaboklab(60.61% -0.0077 -0.1478)
OKLCHoklch(60.61% 0.148 267)
XYZxyz(24.0747, 21.6489, 69.2261)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7CDA #DAB85A
analogous
#5ABCDA #5A7CDA #785ADA
triadic
#5A7CDA #DA5A7C #7CDA5A
tetradic
#5A7CDA #DA5ABC #DAB85A #5ADA78
square
#5A7CDA #DA5ABC #DAB85A #5ADA78
split-complementary
#5A7CDA #DA785A #BCDA5A
monochromatic
#224198 #2D57CA #5A7CDA #8CA4E5 #BECBF0

Accessibility & contrast

On white

3.94
#5A7CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5A7CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7CDA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7CDA#FFFFFF#000000##000000
##5A7CDA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5286DE
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a7cda;
/* rgb */ color: rgb(90, 124, 218);
/* oklch */ color: oklch(60.6% 0.148 267.0);
Tailwind
colors: {
  custom: {
    50: '#93a1e6',
    500: '#5a7cda',
    950: '#000000',
  },
}
SCSS
$custom: #5a7cda;
$custom-light: #93a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7cda",
  "rgb": {
    "r": 90,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 224.063,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60611,
    "c": 0.14797,
    "h": 267
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#5A7CDA
secondary
#E0D3AF
accent
#9C1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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