#5A7396#5A7396

#5A7396 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.0% C 0.062 H 256.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A7396
RGBrgb(90, 115, 150)
HSLhsl(215, 25%, 47%)
HSVhsv(215, 40%, 59%)
CMYKcmyk(40%, 23.3%, 0%, 41.2%)
CIE-LABlab(47.80, 0.22, -21.89)
CIE-LCHlch(47.80, 21.89, 270.58°)
OKLaboklab(54.98% -0.0142 -0.0607)
OKLCHoklch(54.98% 0.062 256.9)
XYZxyz(15.8505, 16.6363, 31.2242)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7396 #967D5A
analogous
#5A9196 #5A7396 #5F5A96
triadic
#5A7396 #965A73 #73965A
tetradic
#5A7396 #965A91 #967D5A #5A965F
square
#5A7396 #965A91 #967D5A #5A965F
split-complementary
#5A7396 #965F5A #91965A
monochromatic
#2C384A #435670 #5A7396 #7D92B1 #A3B2C8

Accessibility & contrast

On white

4.85
#5A7396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A7396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7396
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7396#FFFFFF#000000##FFFFFF
##5A73961.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667598
Deuteranopia (green-blind)
#5F6F95
Tritanopia (blue-blind)
#467B7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a7396;
/* rgb */ color: rgb(90, 115, 150);
/* oklch */ color: oklch(55.0% 0.062 256.9);
Tailwind
colors: {
  custom: {
    50: '#8b9bb5',
    500: '#5a7396',
    950: '#000000',
  },
}
SCSS
$custom: #5a7396;
$custom-light: #8b9bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7396",
  "rgb": {
    "r": 90,
    "g": 115,
    "b": 150
  },
  "hsl": {
    "h": 215,
    "s": 25,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5498,
    "c": 0.06236,
    "h": 256.9
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#5A7396
secondary
#B5A896
accent
#9B66C1
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5A7396

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

Preview Lab → · Contrast checker → · Palette generator →

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