#5A7DD2#5A7DD2

#5A7DD2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.136 H 265.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A7DD2
RGBrgb(90, 125, 210)
HSLhsl(223, 57%, 59%)
HSVhsv(223, 57%, 82%)
CMYKcmyk(57.1%, 40.5%, 0%, 17.6%)
CIE-LABlab(53.48, 12.88, -47.64)
CIE-LCHlch(53.48, 49.35, 285.13°)
OKLaboklab(60.34% -0.0103 -0.1353)
OKLCHoklch(60.34% 0.136 265.6)
XYZxyz(23.1790, 21.4922, 63.8872)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7DD2 #D2AF5A
analogous
#5AB9D2 #5A7DD2 #735AD2
triadic
#5A7DD2 #D25A7D #7DD25A
tetradic
#5A7DD2 #D25AB9 #D2AF5A #5AD273
square
#5A7DD2 #D25AB9 #D2AF5A #5AD273
split-complementary
#5A7DD2 #D2735A #B9D25A
monochromatic
#26448C #335BBC #5A7DD2 #8AA3DF #BAC9EC

Accessibility & contrast

On white

3.96
#5A7DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5A7DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7DD2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7DD2#FFFFFF#000000##000000
##5A7DD21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#497BD0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a7dd2;
/* rgb */ color: rgb(90, 125, 210);
/* oklch */ color: oklch(60.3% 0.136 265.6);
Tailwind
colors: {
  custom: {
    50: '#91a2e0',
    500: '#5a7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #5a7dd2;
$custom-light: #91a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7dd2",
  "rgb": {
    "r": 90,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 222.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60339,
    "c": 0.13569,
    "h": 265.6
  },
  "luminance": 0.21494
}

Semantic roles & 50–950 ramp

primary
#5A7DD2
secondary
#DCCEAC
accent
#B447E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5A7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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