#5A67A4#5A67A4

#5A67A4 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 53.0% C 0.097 H 273.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5A67A4
RGBrgb(90, 103, 164)
HSLhsl(229, 29%, 50%)
HSVhsv(229, 45%, 64%)
CMYKcmyk(45.1%, 37.2%, 0%, 35.7%)
CIE-LABlab(45.02, 11.72, -34.48)
CIE-LCHlch(45.02, 36.42, 288.77°)
OKLaboklab(53.03% 0.006 -0.097)
OKLCHoklch(53.03% 0.097 273.5)
XYZxyz(15.7655, 14.5537, 37.0932)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A4 #A4975A
analogous
#5A8CA4 #5A67A4 #725AA4
triadic
#5A67A4 #A45A67 #67A45A
tetradic
#5A67A4 #A45A8C #A4975A #5AA472
square
#5A67A4 #A45A8C #A4975A #5AA472
split-complementary
#5A67A4 #A4725A #8CA45A
monochromatic
#2F3555 #444E7C #5A67A4 #818BBA #A9B0D0

Accessibility & contrast

On white

5.37
#5A67A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5A67A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67A4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A4#FFFFFF#000000##FFFFFF
##5A67A41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA6
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#40737E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a67a4;
/* rgb */ color: rgb(90, 103, 164);
/* oklch */ color: oklch(53.0% 0.097 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c92bf',
    500: '#5a67a4',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a4;
$custom-light: #8c92bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a4",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 164
  },
  "hsl": {
    "h": 229.459,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.09722,
    "h": 273.5
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#5A67A4
secondary
#BEB89C
accent
#B462C5
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A4

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

Preview Lab → · Contrast checker → · Palette generator →

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