#5A67AB#5A67AB

#5A67AB is a mid, moderate blue. Relative luminance 0.148; OKLCH L 53.4% C 0.108 H 274.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A67AB
RGBrgb(90, 103, 171)
HSLhsl(230, 33%, 51%)
HSVhsv(230, 47%, 67%)
CMYKcmyk(47.4%, 39.8%, 0%, 32.9%)
CIE-LABlab(45.38, 13.89, -38.03)
CIE-LCHlch(45.38, 40.48, 290.06°)
OKLaboklab(53.42% 0.0075 -0.1074)
OKLCHoklch(53.42% 0.108 274)
XYZxyz(16.4151, 14.8135, 40.5145)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67AB #AB9E5A
analogous
#5A8FAB #5A67AB #755AAB
triadic
#5A67AB #AB5A67 #67AB5A
tetradic
#5A67AB #AB5A8F #AB9E5A #5AAB75
square
#5A67AB #AB5A8F #AB9E5A #5AAB75
split-complementary
#5A67AB #AB755A #8FAB5A
monochromatic
#2F365C #434E84 #5A67AB #838CC0 #ABB2D4

Accessibility & contrast

On white

5.30
#5A67AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5A67AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67AB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67AB#FFFFFF#000000##FFFFFF
##5A67AB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#3C7581
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a67ab;
/* rgb */ color: rgb(90, 103, 171);
/* oklch */ color: oklch(53.4% 0.108 274.0);
Tailwind
colors: {
  custom: {
    50: '#8d92c4',
    500: '#5a67ab',
    950: '#000000',
  },
}
SCSS
$custom: #5a67ab;
$custom-light: #8d92c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67ab",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 171
  },
  "hsl": {
    "h": 230.37,
    "s": 32.53,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.10764,
    "h": 274
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#5A67AB
secondary
#C2BD9F
accent
#B85FC9
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5A67AB

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

Preview Lab → · Contrast checker → · Palette generator →

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