#5A6ABC#5A6ABC

#5A6ABC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.1% C 0.128 H 273.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5A6ABC
RGBrgb(90, 106, 188)
HSLhsl(230, 42%, 55%)
HSVhsv(230, 52%, 74%)
CMYKcmyk(52.1%, 43.6%, 0%, 26.3%)
CIE-LABlab(47.12, 17.41, -45.17)
CIE-LCHlch(47.12, 48.41, 291.08°)
OKLaboklab(55.06% 0.0071 -0.1282)
OKLCHoklch(55.06% 0.128 273.2)
XYZxyz(18.4447, 16.1114, 49.7051)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6ABC #BCAC5A
analogous
#5A9BBC #5A6ABC #7B5ABC
triadic
#5A6ABC #BC5A6A #6ABC5A
tetradic
#5A6ABC #BC5A9B #BCAC5A #5ABC7B
square
#5A6ABC #BC5A9B #BCAC5A #5ABC7B
split-complementary
#5A6ABC #BC7B5A #9BBC5A
monochromatic
#2D386F #3F4E9A #5A6ABC #8691CE #B1B9DF

Accessibility & contrast

On white

4.97
#5A6ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5A6ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6ABC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6ABC#FFFFFF#000000##FFFFFF
##5A6ABC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BF
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#2E7C8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a6abc;
/* rgb */ color: rgb(90, 106, 188);
/* oklch */ color: oklch(55.1% 0.128 273.2);
Tailwind
colors: {
  custom: {
    50: '#8f94d0',
    500: '#5a6abc',
    950: '#000000',
  },
}
SCSS
$custom: #5a6abc;
$custom-light: #8f94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6abc",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 230.204,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.12844,
    "h": 273.2
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#5A6ABC
secondary
#CEC7A4
accent
#BE56D2
background
#F9F9FC
surface
#F1F1F9
border
#CBCBD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5A6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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