#5A67A2#5A67A2

#5A67A2 is a mid, moderate blue. Relative luminance 0.145; OKLCH L 52.9% C 0.094 H 273.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5A67A2
RGBrgb(90, 103, 162)
HSLhsl(229, 29%, 49%)
HSVhsv(229, 44%, 64%)
CMYKcmyk(44.4%, 36.4%, 0%, 36.5%)
CIE-LABlab(44.92, 11.11, -33.46)
CIE-LCHlch(44.92, 35.25, 288.36°)
OKLaboklab(52.92% 0.0055 -0.0941)
OKLCHoklch(52.92% 0.094 273.3)
XYZxyz(15.5863, 14.4820, 36.1494)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A2 #A2955A
analogous
#5A8BA2 #5A67A2 #715AA2
triadic
#5A67A2 #A25A67 #67A25A
tetradic
#5A67A2 #A25A8B #A2955A #5AA271
square
#5A67A2 #A25A8B #A2955A #5AA271
split-complementary
#5A67A2 #A2715A #8BA25A
monochromatic
#2E3553 #444E7B #5A67A2 #808BB9 #A8AFCF

Accessibility & contrast

On white

5.39
#5A67A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5A67A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67A2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A2#FFFFFF#000000##FFFFFF
##5A67A21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#4C67A1
Tritanopia (blue-blind)
#41737D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a67a2;
/* rgb */ color: rgb(90, 103, 162);
/* oklch */ color: oklch(52.9% 0.094 273.3);
Tailwind
colors: {
  custom: {
    50: '#8c92be',
    500: '#5a67a2',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a2;
$custom-light: #8c92be;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a2",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 229.167,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.09423,
    "h": 273.3
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#5A67A2
secondary
#BDB79B
accent
#B363C5
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A2

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

Preview Lab → · Contrast checker → · Palette generator →

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