#5A6FDC#5A6FDC

#5A6FDC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.167 H 272.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5A6FDC
RGBrgb(90, 111, 220)
HSLhsl(230, 65%, 61%)
HSVhsv(230, 59%, 86%)
CMYKcmyk(59.1%, 49.5%, 0%, 13.7%)
CIE-LABlab(50.34, 24.77, -58.31)
CIE-LCHlch(50.34, 63.36, 293.02°)
OKLaboklab(58.13% 0.0059 -0.1668)
OKLCHoklch(58.13% 0.167 272)
XYZxyz(22.8149, 18.7080, 70.1050)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6FDC #DCC75A
analogous
#5AB0DC #5A6FDC #865ADC
triadic
#5A6FDC #DC5A6F #6FDC5A
tetradic
#5A6FDC #DC5AB0 #DCC75A #5ADC86
square
#5A6FDC #DC5AB0 #DCC75A #5ADC86
split-complementary
#5A6FDC #DC865A #B0DC5A
monochromatic
#21359B #2C46CD #5A6FDC #8C9BE7 #BFC7F1

Accessibility & contrast

On white

4.43
#5A6FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5A6FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6FDC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6FDC#FFFFFF#000000##000000
##5A6FDC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#1B72DA
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6fdc;
/* rgb */ color: rgb(90, 111, 220);
/* oklch */ color: oklch(58.1% 0.167 272.0);
Tailwind
colors: {
  custom: {
    50: '#9398e7',
    500: '#5a6fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5a6fdc;
$custom-light: #9398e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6fdc",
  "rgb": {
    "r": 90,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 230.308,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.16692,
    "h": 272
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#5A6FDC
secondary
#E2DAB0
accent
#B019CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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