#5A6CDB#5A6CDB

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

Color values

HEX#5A6CDB
RGBrgb(90, 108, 219)
HSLhsl(232, 64%, 61%)
HSVhsv(232, 59%, 86%)
CMYKcmyk(58.9%, 50.7%, 0%, 14.1%)
CIE-LABlab(49.51, 26.29, -59.09)
CIE-LCHlch(49.51, 64.68, 293.99°)
OKLaboklab(57.48% 0.0088 -0.1691)
OKLCHoklch(57.48% 0.169 273)
XYZxyz(22.3610, 18.0115, 69.3023)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6CDB #DBC95A
analogous
#5AACDB #5A6CDB #885ADB
triadic
#5A6CDB #DB5A6C #6CDB5A
tetradic
#5A6CDB #DB5AAC #DBC95A #5ADB88
square
#5A6CDB #DB5AAC #DBC95A #5ADB88
split-complementary
#5A6CDB #DB885A #ACDB5A
monochromatic
#213299 #2C43CB #5A6CDB #8C99E6 #BEC6F1

Accessibility & contrast

On white

4.56
#5A6CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6CDB#FFFFFF#000000##000000
##5A6CDB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#1070D9
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6cdb;
/* rgb */ color: rgb(90, 108, 219);
/* oklch */ color: oklch(57.5% 0.169 273.0);
Tailwind
colors: {
  custom: {
    50: '#9395e7',
    500: '#5a6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #5a6cdb;
$custom-light: #9395e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6cdb",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 231.628,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.16936,
    "h": 273
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#5A6CDB
secondary
#E1DAB0
accent
#B31ACC
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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