#5A6CBF#5A6CBF

#5A6CBF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.7% C 0.130 H 272.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A6CBF
RGBrgb(90, 108, 191)
HSLhsl(229, 44%, 55%)
HSVhsv(229, 53%, 75%)
CMYKcmyk(52.9%, 43.5%, 0%, 25.1%)
CIE-LABlab(47.83, 17.13, -45.78)
CIE-LCHlch(47.83, 48.88, 290.52°)
OKLaboklab(55.66% 0.0053 -0.13)
OKLCHoklch(55.66% 0.13 272.3)
XYZxyz(18.9799, 16.6591, 51.4955)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6CBF #BFAD5A
analogous
#5A9EBF #5A6CBF #7A5ABF
triadic
#5A6CBF #BF5A6C #6CBF5A
tetradic
#5A6CBF #BF5A9E #BFAD5A #5ABF7A
square
#5A6CBF #BF5A9E #BFAD5A #5ABF7A
split-complementary
#5A6CBF #BF7A5A #9EBF5A
monochromatic
#2C3972 #3D4F9E #5A6CBF #8693D0 #B2BBE1

Accessibility & contrast

On white

4.85
#5A6CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A6CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6CBF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6CBF#FFFFFF#000000##FFFFFF
##5A6CBF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#2B7E8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a6cbf;
/* rgb */ color: rgb(90, 108, 191);
/* oklch */ color: oklch(55.7% 0.130 272.3);
Tailwind
colors: {
  custom: {
    50: '#8f95d3',
    500: '#5a6cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5a6cbf;
$custom-light: #8f95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6cbf",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 229.307,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.13012,
    "h": 272.3
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#5A6CBF
secondary
#D0C8A5
accent
#BD54D4
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5A6CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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