#5A7EA2#5A7EA2

#5A7EA2 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.069 H 249.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5A7EA2
RGBrgb(90, 126, 162)
HSLhsl(210, 29%, 49%)
HSVhsv(210, 44%, 64%)
CMYKcmyk(44.4%, 22.2%, 0%, 36.5%)
CIE-LABlab(51.50, -2.77, -23.21)
CIE-LCHlch(51.50, 23.38, 263.19°)
OKLaboklab(58.05% -0.0246 -0.0645)
OKLCHoklch(58.05% 0.069 249.1)
XYZxyz(18.1967, 19.7028, 37.0196)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7EA2 #A27E5A
analogous
#5AA2A2 #5A7EA2 #5A5AA2
triadic
#5A7EA2 #A25A7E #7EA25A
tetradic
#5A7EA2 #A25AA2 #A27E5A #5AA25A
square
#5A7EA2 #A25AA2 #A27E5A #5AA25A
split-complementary
#5A7EA2 #A25A5A #A2A25A
monochromatic
#2E4153 #445F7B #5A7EA2 #809DB9 #A8BBCF

Accessibility & contrast

On white

4.25
#5A7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5A7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7EA2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7EA2#FFFFFF#000000##000000
##5A7EA21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6777A1
Tritanopia (blue-blind)
#3E868A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a7ea2;
/* rgb */ color: rgb(90, 126, 162);
/* oklch */ color: oklch(58.1% 0.069 249.1);
Tailwind
colors: {
  custom: {
    50: '#8ca3bd',
    500: '#5a7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ea2;
$custom-light: #8ca3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ea2",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 210,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.06905,
    "h": 249.1
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#5A7EA2
secondary
#BDAC9B
accent
#9463C5
background
#F8FAFB
surface
#F0F3F6
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5A7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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