#5A6DCA#5A6DCA

#5A6DCA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.5% C 0.144 H 272.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A6DCA
RGBrgb(90, 109, 202)
HSLhsl(230, 51%, 57%)
HSVhsv(230, 55%, 79%)
CMYKcmyk(55.4%, 46%, 0%, 20.8%)
CIE-LABlab(48.73, 20.08, -50.66)
CIE-LCHlch(48.73, 54.50, 291.62°)
OKLaboklab(56.55% 0.0059 -0.1443)
OKLCHoklch(56.55% 0.144 272.3)
XYZxyz(20.3423, 17.3737, 58.1472)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DCA #CAB75A
analogous
#5AA5CA #5A6DCA #7F5ACA
triadic
#5A6DCA #CA5A6D #6DCA5A
tetradic
#5A6DCA #CA5AA5 #CAB75A #5ACA7F
square
#5A6DCA #CA5AA5 #CAB75A #5ACA7F
split-complementary
#5A6DCA #CA7F5A #A5CA5A
monochromatic
#293880 #384CAF #5A6DCA #8896D9 #B7BFE8

Accessibility & contrast

On white

4.69
#5A6DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5A6DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6DCA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DCA#FFFFFF#000000##FFFFFF
##5A6DCA1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CD
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#1B8292
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a6dca;
/* rgb */ color: rgb(90, 109, 202);
/* oklch */ color: oklch(56.5% 0.144 272.3);
Tailwind
colors: {
  custom: {
    50: '#9196db',
    500: '#5a6dca',
    950: '#000000',
  },
}
SCSS
$custom: #5a6dca;
$custom-light: #9196db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6dca",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 229.821,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56548,
    "c": 0.14446,
    "h": 272.3
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#5A6DCA
secondary
#D7CFA9
accent
#C34DDB
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5A6DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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