#5A67A0#5A67A0

#5A67A0 is a mid, moderate blue. Relative luminance 0.144; OKLCH L 52.8% C 0.091 H 273.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5A67A0
RGBrgb(90, 103, 160)
HSLhsl(229, 28%, 49%)
HSVhsv(229, 44%, 63%)
CMYKcmyk(43.7%, 35.6%, 0%, 37.3%)
CIE-LABlab(44.82, 10.50, -32.43)
CIE-LCHlch(44.82, 34.09, 287.93°)
OKLaboklab(52.81% 0.005 -0.0911)
OKLCHoklch(52.81% 0.091 273.1)
XYZxyz(15.4099, 14.4114, 35.2206)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A0 #A0935A
analogous
#5A8AA0 #5A67A0 #705AA0
triadic
#5A67A0 #A05A67 #67A05A
tetradic
#5A67A0 #A05A8A #A0935A #5AA070
square
#5A67A0 #A05A8A #A0935A #5AA070
split-complementary
#5A67A0 #A0705A #8AA05A
monochromatic
#2E3552 #444E79 #5A67A0 #808AB7 #A7AECD

Accessibility & contrast

On white

5.41
#5A67A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5A67A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67A0
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A0#FFFFFF#000000##FFFFFF
##5A67A01.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536DA2
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#42737C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a67a0;
/* rgb */ color: rgb(90, 103, 160);
/* oklch */ color: oklch(52.8% 0.091 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c92bc',
    500: '#5a67a0',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a0;
$custom-light: #8c92bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a0",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 160
  },
  "hsl": {
    "h": 228.857,
    "s": 28,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.09123,
    "h": 273.1
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#5A67A0
secondary
#BBB59A
accent
#B263C4
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A0

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

Preview Lab → · Contrast checker → · Palette generator →

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