#5A67A6#5A67A6

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

Color values

HEX#5A67A6
RGBrgb(90, 103, 166)
HSLhsl(230, 30%, 50%)
HSVhsv(230, 46%, 65%)
CMYKcmyk(45.8%, 38%, 0%, 34.9%)
CIE-LABlab(45.12, 12.33, -35.50)
CIE-LCHlch(45.12, 37.58, 289.16°)
OKLaboklab(53.14% 0.0064 -0.1)
OKLCHoklch(53.14% 0.1 273.7)
XYZxyz(15.9475, 14.6265, 38.0519)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A6 #A6995A
analogous
#5A8DA6 #5A67A6 #735AA6
triadic
#5A67A6 #A65A67 #67A65A
tetradic
#5A67A6 #A65A8D #A6995A #5AA673
square
#5A67A6 #A65A8D #A6995A #5AA673
split-complementary
#5A67A6 #A6735A #8DA65A
monochromatic
#2F3657 #444E7F #5A67A6 #828CBB #AAB0D1

Accessibility & contrast

On white

5.35
#5A67A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A67A6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A6#FFFFFF#000000##FFFFFF
##5A67A61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#3F747E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a67a6;
/* rgb */ color: rgb(90, 103, 166);
/* oklch */ color: oklch(53.1% 0.100 273.7);
Tailwind
colors: {
  custom: {
    50: '#8c92c1',
    500: '#5a67a6',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a6;
$custom-light: #8c92c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a6",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 166
  },
  "hsl": {
    "h": 229.737,
    "s": 29.921,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.10022,
    "h": 273.7
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#5A67A6
secondary
#BFB99D
accent
#B562C6
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A6

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

Preview Lab → · Contrast checker → · Palette generator →

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