#5A7AD2#5A7AD2

#5A7AD2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.139 H 267.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5A7AD2
RGBrgb(90, 122, 210)
HSLhsl(224, 57%, 59%)
HSVhsv(224, 57%, 82%)
CMYKcmyk(57.1%, 41.9%, 0%, 17.6%)
CIE-LABlab(52.67, 14.71, -48.93)
CIE-LCHlch(52.67, 51.10, 286.73°)
OKLaboklab(59.71% -0.007 -0.1391)
OKLCHoklch(59.71% 0.139 267.1)
XYZxyz(22.8049, 20.7441, 63.7625)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7AD2 #D2B25A
analogous
#5AB6D2 #5A7AD2 #765AD2
triadic
#5A7AD2 #D25A7A #7AD25A
tetradic
#5A7AD2 #D25AB6 #D2B25A #5AD276
square
#5A7AD2 #D25AB6 #D2B25A #5AD276
split-complementary
#5A7AD2 #D2765A #B6D25A
monochromatic
#26418C #3358BC #5A7AD2 #8AA1DF #BAC8EC

Accessibility & contrast

On white

4.08
#5A7AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5A7AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7AD2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7AD2#FFFFFF#000000##000000
##5A7AD21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5483D5
Deuteranopia (green-blind)
#4479D0
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a7ad2;
/* rgb */ color: rgb(90, 122, 210);
/* oklch */ color: oklch(59.7% 0.139 267.1);
Tailwind
colors: {
  custom: {
    50: '#92a0e0',
    500: '#5a7ad2',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ad2;
$custom-light: #92a0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ad2",
  "rgb": {
    "r": 90,
    "g": 122,
    "b": 210
  },
  "hsl": {
    "h": 224,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.13931,
    "h": 267.1
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#5A7AD2
secondary
#DCCFAC
accent
#B847E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A7AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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