#5A6790#5A6790

#5A6790 is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.0% C 0.067 H 270.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5A6790
RGBrgb(90, 103, 144)
HSLhsl(226, 23%, 46%)
HSVhsv(226, 38%, 56%)
CMYKcmyk(37.5%, 28.5%, 0%, 43.5%)
CIE-LABlab(44.07, 5.75, -24.09)
CIE-LCHlch(44.07, 24.77, 283.43°)
OKLaboklab(51.99% 0.0005 -0.067)
OKLCHoklch(51.99% 0.067 270.4)
XYZxyz(14.0992, 13.8872, 28.3178)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6790 #90835A
analogous
#5A8290 #5A6790 #685A90
triadic
#5A6790 #905A67 #67905A
tetradic
#5A6790 #905A82 #90835A #5A9068
square
#5A6790 #905A82 #90835A #5A9068
split-complementary
#5A6790 #90685A #82905A
monochromatic
#2B3145 #424C6A #5A6790 #7B87AC #A0A9C4

Accessibility & contrast

On white

5.56
#5A6790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5A6790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6790
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6790#FFFFFF#000000##FFFFFF
##5A67901.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B92
Deuteranopia (green-blind)
#55668F
Tritanopia (blue-blind)
#4A6F75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a6790;
/* rgb */ color: rgb(90, 103, 144);
/* oklch */ color: oklch(52.0% 0.067 270.4);
Tailwind
colors: {
  custom: {
    50: '#8a92b0',
    500: '#5a6790',
    950: '#000000',
  },
}
SCSS
$custom: #5a6790;
$custom-light: #8a92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6790",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 144
  },
  "hsl": {
    "h": 225.556,
    "s": 23.077,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.06701,
    "h": 270.4
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#5A6790
secondary
#B2AB94
accent
#AB68C0
background
#F8F8FA
surface
#F0F0F5
border
#CBCBCF
text
#0C0D10
muted
#7D7D7F

Preview Lab

Preview with #5A6790

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

Preview Lab → · Contrast checker → · Palette generator →

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