#5A7296#5A7296

#5A7296 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.8% C 0.063 H 258.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5A7296
RGBrgb(90, 114, 150)
HSLhsl(216, 25%, 47%)
HSVhsv(216, 40%, 59%)
CMYKcmyk(40%, 24%, 0%, 41.2%)
CIE-LABlab(47.51, 0.82, -22.34)
CIE-LCHlch(47.51, 22.36, 272.10°)
OKLaboklab(54.75% -0.0128 -0.062)
OKLCHoklch(54.75% 0.063 258.3)
XYZxyz(15.7371, 16.4095, 31.1864)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7296 #967E5A
analogous
#5A9096 #5A7296 #605A96
triadic
#5A7296 #965A72 #72965A
tetradic
#5A7296 #965A90 #967E5A #5A9660
square
#5A7296 #965A90 #967E5A #5A9660
split-complementary
#5A7296 #96605A #90965A
monochromatic
#2C384A #435570 #5A7296 #7D91B1 #A3B2C8

Accessibility & contrast

On white

4.90
#5A7296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5A7296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7296
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7296#FFFFFF#000000##FFFFFF
##5A72961.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657498
Deuteranopia (green-blind)
#5E6E95
Tritanopia (blue-blind)
#467A7E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a7296;
/* rgb */ color: rgb(90, 114, 150);
/* oklch */ color: oklch(54.8% 0.063 258.3);
Tailwind
colors: {
  custom: {
    50: '#8b9ab5',
    500: '#5a7296',
    950: '#000000',
  },
}
SCSS
$custom: #5a7296;
$custom-light: #8b9ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7296",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 150
  },
  "hsl": {
    "h": 216,
    "s": 25,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.06332,
    "h": 258.3
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#5A7296
secondary
#B5A996
accent
#9D66C1
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5A7296

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

Preview Lab → · Contrast checker → · Palette generator →

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