#5D7EA2#5D7EA2

#5D7EA2 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.2% C 0.067 H 251.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5D7EA2
RGBrgb(93, 126, 162)
HSLhsl(211, 27%, 50%)
HSVhsv(211, 43%, 64%)
CMYKcmyk(42.6%, 22.2%, 0%, 36.5%)
CIE-LABlab(51.67, -1.96, -22.93)
CIE-LCHlch(51.67, 23.01, 265.11°)
OKLaboklab(58.23% -0.0217 -0.0636)
OKLCHoklch(58.23% 0.067 251.2)
XYZxyz(18.4945, 19.8564, 37.0335)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EA2 #A2815D
analogous
#5DA1A2 #5D7EA2 #5E5DA2
triadic
#5D7EA2 #A25D7E #7EA25D
tetradic
#5D7EA2 #A25DA1 #A2815D #5DA25E
square
#5D7EA2 #A25DA1 #A2815D #5DA25E
split-complementary
#5D7EA2 #A25E5D #A1A25D
monochromatic
#304254 #47607B #5D7EA2 #849DB8 #ABBCCF

Accessibility & contrast

On white

4.22
#5D7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5D7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EA2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EA2#FFFFFF#000000##000000
##5D7EA21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#43868A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d7ea2;
/* rgb */ color: rgb(93, 126, 162);
/* oklch */ color: oklch(58.2% 0.067 251.2);
Tailwind
colors: {
  custom: {
    50: '#8ea3bd',
    500: '#5d7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ea2;
$custom-light: #8ea3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ea2",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 211.304,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.06725,
    "h": 251.2
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#5D7EA2
secondary
#BDAE9E
accent
#9664C3
background
#F8FAFB
surface
#F0F3F6
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5D7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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