#5A689A#5A689A

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

Color values

HEX#5A689A
RGBrgb(90, 104, 154)
HSLhsl(227, 26%, 48%)
HSVhsv(227, 42%, 60%)
CMYKcmyk(41.6%, 32.5%, 0%, 39.6%)
CIE-LABlab(44.81, 8.07, -28.89)
CIE-LCHlch(44.81, 30.00, 285.61°)
OKLaboklab(52.71% 0.0021 -0.0808)
OKLCHoklch(52.71% 0.081 271.5)
XYZxyz(14.9977, 14.4067, 32.5561)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A689A #9A8C5A
analogous
#5A889A #5A689A #6C5A9A
triadic
#5A689A #9A5A68 #689A5A
tetradic
#5A689A #9A5A88 #9A8C5A #5A9A6C
square
#5A689A #9A5A88 #9A8C5A #5A9A6C
split-complementary
#5A689A #9A6C5A #889A5A
monochromatic
#2D344D #434E73 #5A689A #7E89B3 #A4ADCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A689A#FFFFFF#000000##FFFFFF
##5A689A1.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)
#576D9C
Deuteranopia (green-blind)
#516899
Tritanopia (blue-blind)
#45727A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a689a;
/* rgb */ color: rgb(90, 104, 154);
/* oklch */ color: oklch(52.7% 0.081 271.5);
Tailwind
colors: {
  custom: {
    50: '#8b93b8',
    500: '#5a689a',
    950: '#000000',
  },
}
SCSS
$custom: #5a689a;
$custom-light: #8b93b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a689a",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 154
  },
  "hsl": {
    "h": 226.875,
    "s": 26.23,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.08086,
    "h": 271.5
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#5A689A
secondary
#B8B198
accent
#AE65C3
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0C0D11
muted
#7D7E80

Preview Lab

Preview with #5A689A

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

Preview Lab → · Contrast checker → · Palette generator →

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