#5A6EDC#5A6EDC

#5A6EDC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.9% C 0.168 H 272.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A6EDC
RGBrgb(90, 110, 220)
HSLhsl(231, 65%, 61%)
HSVhsv(231, 59%, 86%)
CMYKcmyk(59.1%, 50%, 0%, 13.7%)
CIE-LABlab(50.09, 25.39, -58.73)
CIE-LCHlch(50.09, 63.98, 293.38°)
OKLaboklab(57.93% 0.0069 -0.168)
OKLCHoklch(57.93% 0.168 272.4)
XYZxyz(22.7064, 18.4910, 70.0688)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EDC #DCC85A
analogous
#5AAFDC #5A6EDC #875ADC
triadic
#5A6EDC #DC5A6E #6EDC5A
tetradic
#5A6EDC #DC5AAF #DCC85A #5ADC87
square
#5A6EDC #DC5AAF #DCC85A #5ADC87
split-complementary
#5A6EDC #DC875A #AFDC5A
monochromatic
#21349B #2C44CD #5A6EDC #8C9AE7 #BFC7F1

Accessibility & contrast

On white

4.47
#5A6EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5A6EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EDC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EDC#FFFFFF#000000##000000
##5A6EDC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#1772DA
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6edc;
/* rgb */ color: rgb(90, 110, 220);
/* oklch */ color: oklch(57.9% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#9397e7',
    500: '#5a6edc',
    950: '#000000',
  },
}
SCSS
$custom: #5a6edc;
$custom-light: #9397e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6edc",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 220
  },
  "hsl": {
    "h": 230.769,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57932,
    "c": 0.16818,
    "h": 272.4
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A6EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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