#5A67A7#5A67A7

#5A67A7 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.2% C 0.102 H 273.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5A67A7
RGBrgb(90, 103, 167)
HSLhsl(230, 30%, 50%)
HSVhsv(230, 46%, 65%)
CMYKcmyk(46.1%, 38.3%, 0%, 34.5%)
CIE-LABlab(45.17, 12.64, -36.01)
CIE-LCHlch(45.17, 38.16, 289.35°)
OKLaboklab(53.2% 0.0067 -0.1015)
OKLCHoklch(53.2% 0.102 273.8)
XYZxyz(16.0396, 14.6633, 38.5369)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A7 #A79A5A
analogous
#5A8DA7 #5A67A7 #735AA7
triadic
#5A67A7 #A75A67 #67A75A
tetradic
#5A67A7 #A75A8D #A79A5A #5AA773
square
#5A67A7 #A75A8D #A79A5A #5AA773
split-complementary
#5A67A7 #A7735A #8DA75A
monochromatic
#2F3658 #444E80 #5A67A7 #828CBC #AAB1D2

Accessibility & contrast

On white

5.34
#5A67A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5A67A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67A7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A7#FFFFFF#000000##FFFFFF
##5A67A71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#3E747F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a67a7;
/* rgb */ color: rgb(90, 103, 167);
/* oklch */ color: oklch(53.2% 0.102 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d92c1',
    500: '#5a67a7',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a7;
$custom-light: #8d92c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a7",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 167
  },
  "hsl": {
    "h": 229.87,
    "s": 30.435,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.1017,
    "h": 273.8
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#5A67A7
secondary
#C0BA9D
accent
#B661C7
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A7

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

Preview Lab → · Contrast checker → · Palette generator →

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