#5A7BDD#5A7BDD

#5A7BDD is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.153 H 267.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5A7BDD
RGBrgb(90, 123, 221)
HSLhsl(225, 66%, 61%)
HSVhsv(225, 59%, 87%)
CMYKcmyk(59.3%, 44.3%, 0%, 13.3%)
CIE-LABlab(53.55, 17.74, -53.73)
CIE-LCHlch(53.55, 56.58, 288.27°)
OKLaboklab(60.59% -0.0062 -0.1532)
OKLCHoklch(60.59% 0.153 267.7)
XYZxyz(24.3461, 21.5580, 71.2707)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7BDD #DDBC5A
analogous
#5ABDDD #5A7BDD #7A5ADD
triadic
#5A7BDD #DD5A7B #7BDD5A
tetradic
#5A7BDD #DD5ABD #DDBC5A #5ADD7A
square
#5A7BDD #DD5ABD #DDBC5A #5ADD7A
split-complementary
#5A7BDD #DD7A5A #BDDD5A
monochromatic
#203F9C #2B54CF #5A7BDD #8DA4E7 #BFCCF2

Accessibility & contrast

On white

3.95
#5A7BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5A7BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7BDD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7BDD#FFFFFF#000000##000000
##5A7BDD1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E1
Deuteranopia (green-blind)
#3B7ADB
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a7bdd;
/* rgb */ color: rgb(90, 123, 221);
/* oklch */ color: oklch(60.6% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#93a0e8',
    500: '#5a7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #5a7bdd;
$custom-light: #93a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7bdd",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 224.885,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60591,
    "c": 0.15333,
    "h": 267.7
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

primary
#5A7BDD
secondary
#E2D6B1
accent
#A018CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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