#5A6BDD#5A6BDD

#5A6BDD is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.173 H 273.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5A6BDD
RGBrgb(90, 107, 221)
HSLhsl(232, 66%, 61%)
HSVhsv(232, 59%, 87%)
CMYKcmyk(59.3%, 51.6%, 0%, 13.3%)
CIE-LABlab(49.38, 27.57, -60.43)
CIE-LCHlch(49.38, 66.42, 294.53°)
OKLaboklab(57.42% 0.01 -0.1731)
OKLCHoklch(57.42% 0.173 273.3)
XYZxyz(22.5210, 17.9077, 70.6623)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BDD #DDCC5A
analogous
#5AACDD #5A6BDD #8A5ADD
triadic
#5A6BDD #DD5A6B #6BDD5A
tetradic
#5A6BDD #DD5AAC #DDCC5A #5ADD8A
square
#5A6BDD #DD5AAC #DDCC5A #5ADD8A
split-complementary
#5A6BDD #DD8A5A #ACDD5A
monochromatic
#20309C #2B40CF #5A6BDD #8D99E7 #BFC6F2

Accessibility & contrast

On white

4.58
#5A6BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5A6BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BDD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BDD#FFFFFF#000000##000000
##5A6BDD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE1
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a6bdd;
/* rgb */ color: rgb(90, 107, 221);
/* oklch */ color: oklch(57.4% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#9495e8',
    500: '#5a6bdd',
    950: '#000000',
  },
}
SCSS
$custom: #5a6bdd;
$custom-light: #9495e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6bdd",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 232.214,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.17336,
    "h": 273.3
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#5A6BDD
secondary
#E2DCB1
accent
#B618CE
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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