#5A67A3#5A67A3

#5A67A3 is a mid, moderate blue. Relative luminance 0.145; OKLCH L 53.0% C 0.096 H 273.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5A67A3
RGBrgb(90, 103, 163)
HSLhsl(229, 29%, 50%)
HSVhsv(229, 45%, 64%)
CMYKcmyk(44.8%, 36.8%, 0%, 36.1%)
CIE-LABlab(44.97, 11.41, -33.97)
CIE-LCHlch(44.97, 35.84, 288.57°)
OKLaboklab(52.97% 0.0057 -0.0956)
OKLCHoklch(52.97% 0.096 273.4)
XYZxyz(15.6755, 14.5177, 36.6194)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A3 #A3965A
analogous
#5A8CA3 #5A67A3 #725AA3
triadic
#5A67A3 #A35A67 #67A35A
tetradic
#5A67A3 #A35A8C #A3965A #5AA372
square
#5A67A3 #A35A8C #A3965A #5AA372
split-complementary
#5A67A3 #A3725A #8CA35A
monochromatic
#2E3554 #444E7C #5A67A3 #818BB9 #A8AFCF

Accessibility & contrast

On white

5.38
#5A67A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A67A3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A3#FFFFFF#000000##FFFFFF
##5A67A31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA5
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#41737D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a67a3;
/* rgb */ color: rgb(90, 103, 163);
/* oklch */ color: oklch(53.0% 0.096 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c92be',
    500: '#5a67a3',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a3;
$custom-light: #8c92be;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a3",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 163
  },
  "hsl": {
    "h": 229.315,
    "s": 28.854,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.09573,
    "h": 273.4
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#5A67A3
secondary
#BDB79C
accent
#B463C5
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A3

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

Preview Lab → · Contrast checker → · Palette generator →

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