#5A6ECA#5A6ECA

#5A6ECA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.8% C 0.143 H 271.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5A6ECA
RGBrgb(90, 110, 202)
HSLhsl(229, 51%, 57%)
HSVhsv(229, 55%, 79%)
CMYKcmyk(55.4%, 45.5%, 0%, 20.8%)
CIE-LABlab(48.99, 19.47, -50.24)
CIE-LCHlch(48.99, 53.88, 291.18°)
OKLaboklab(56.75% 0.0048 -0.1431)
OKLCHoklch(56.75% 0.143 271.9)
XYZxyz(20.4496, 17.5883, 58.1829)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6ECA #CAB65A
analogous
#5AA6CA #5A6ECA #7E5ACA
triadic
#5A6ECA #CA5A6E #6ECA5A
tetradic
#5A6ECA #CA5AA6 #CAB65A #5ACA7E
square
#5A6ECA #CA5AA6 #CAB65A #5ACA7E
split-complementary
#5A6ECA #CA7E5A #A6CA5A
monochromatic
#293980 #384DAF #5A6ECA #8897D9 #B7BFE8

Accessibility & contrast

On white

4.65
#5A6ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5A6ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6ECA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6ECA#FFFFFF#000000##FFFFFF
##5A6ECA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#1B8292
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a6eca;
/* rgb */ color: rgb(90, 110, 202);
/* oklch */ color: oklch(56.8% 0.143 271.9);
Tailwind
colors: {
  custom: {
    50: '#9197db',
    500: '#5a6eca',
    950: '#000000',
  },
}
SCSS
$custom: #5a6eca;
$custom-light: #9197db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6eca",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 229.286,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.14317,
    "h": 271.9
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#5A6ECA
secondary
#D7CEA9
accent
#C24DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5A6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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