#5A67A5#5A67A5

#5A67A5 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 53.1% C 0.099 H 273.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5A67A5
RGBrgb(90, 103, 165)
HSLhsl(230, 29%, 50%)
HSVhsv(230, 45%, 65%)
CMYKcmyk(45.5%, 37.6%, 0%, 35.3%)
CIE-LABlab(45.07, 12.03, -34.99)
CIE-LCHlch(45.07, 37.00, 288.97°)
OKLaboklab(53.08% 0.0062 -0.0985)
OKLCHoklch(53.08% 0.099 273.6)
XYZxyz(15.8561, 14.5899, 37.5707)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A5 #A5985A
analogous
#5A8DA5 #5A67A5 #725AA5
triadic
#5A67A5 #A55A67 #67A55A
tetradic
#5A67A5 #A55A8D #A5985A #5AA572
square
#5A67A5 #A55A8D #A5985A #5AA572
split-complementary
#5A67A5 #A5725A #8DA55A
monochromatic
#2F3656 #444E7D #5A67A5 #828BBB #A9B0D0

Accessibility & contrast

On white

5.36
#5A67A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5A67A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67A5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A5#FFFFFF#000000##FFFFFF
##5A67A51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#40747E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a67a5;
/* rgb */ color: rgb(90, 103, 165);
/* oklch */ color: oklch(53.1% 0.099 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c92c0',
    500: '#5a67a5',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a5;
$custom-light: #8c92c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a5",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 165
  },
  "hsl": {
    "h": 229.6,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.09872,
    "h": 273.6
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#5A67A5
secondary
#BEB89D
accent
#B462C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A5

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

Preview Lab → · Contrast checker → · Palette generator →

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