#5A6FCE#5A6FCE

#5A6FCE is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.147 H 271.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5A6FCE
RGBrgb(90, 111, 206)
HSLhsl(229, 54%, 58%)
HSVhsv(229, 56%, 81%)
CMYKcmyk(56.3%, 46.1%, 0%, 19.2%)
CIE-LABlab(49.49, 20.16, -51.73)
CIE-LCHlch(49.49, 55.52, 291.29°)
OKLaboklab(57.21% 0.0042 -0.1474)
OKLCHoklch(57.21% 0.148 271.6)
XYZxyz(21.0378, 17.9972, 60.7458)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6FCE #CEB95A
analogous
#5AA9CE #5A6FCE #7F5ACE
triadic
#5A6FCE #CE5A6F #6FCE5A
tetradic
#5A6FCE #CE5AA9 #CEB95A #5ACE7F
square
#5A6FCE #CE5AA9 #CEB95A #5ACE7F
split-complementary
#5A6FCE #CE7F5A #A9CE5A
monochromatic
#283986 #364DB5 #5A6FCE #8998DC #B8C1EA

Accessibility & contrast

On white

4.57
#5A6FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5A6FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6FCE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6FCE#FFFFFF#000000##000000
##5A6FCE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD2
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#118494
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6fce;
/* rgb */ color: rgb(90, 111, 206);
/* oklch */ color: oklch(57.2% 0.147 271.6);
Tailwind
colors: {
  custom: {
    50: '#9198dd',
    500: '#5a6fce',
    950: '#000000',
  },
}
SCSS
$custom: #5a6fce;
$custom-light: #9198dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6fce",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 229.138,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.1475,
    "h": 271.6
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#5A6FCE
secondary
#D9D1AB
accent
#C34ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5A6FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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