#5A67AA#5A67AA

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

Color values

HEX#5A67AA
RGBrgb(90, 103, 170)
HSLhsl(230, 32%, 51%)
HSVhsv(230, 47%, 67%)
CMYKcmyk(47.1%, 39.4%, 0%, 33.3%)
CIE-LABlab(45.33, 13.57, -37.52)
CIE-LCHlch(45.33, 39.90, 289.89°)
OKLaboklab(53.37% 0.0073 -0.1059)
OKLCHoklch(53.37% 0.106 274)
XYZxyz(16.3201, 14.7755, 40.0144)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67AA #AA9D5A
analogous
#5A8FAA #5A67AA #755AAA
triadic
#5A67AA #AA5A67 #67AA5A
tetradic
#5A67AA #AA5A8F #AA9D5A #5AAA75
square
#5A67AA #AA5A8F #AA9D5A #5AAA75
split-complementary
#5A67AA #AA755A #8FAA5A
monochromatic
#2F365B #444E83 #5A67AA #828CBF #ABB1D4

Accessibility & contrast

On white

5.31
#5A67AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A67AA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67AA#FFFFFF#000000##FFFFFF
##5A67AA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#3D7580
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a67aa;
/* rgb */ color: rgb(90, 103, 170);
/* oklch */ color: oklch(53.4% 0.106 274.0);
Tailwind
colors: {
  custom: {
    50: '#8d92c3',
    500: '#5a67aa',
    950: '#000000',
  },
}
SCSS
$custom: #5a67aa;
$custom-light: #8d92c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67aa",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 170
  },
  "hsl": {
    "h": 230.25,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.10616,
    "h": 274
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#5A67AA
secondary
#C2BC9E
accent
#B760C8
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67AA

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

Preview Lab → · Contrast checker → · Palette generator →

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