#5E7FA2#5E7FA2

#5E7FA2 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.5% C 0.066 H 250.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E7FA2
RGBrgb(94, 127, 162)
HSLhsl(211, 27%, 50%)
HSVhsv(211, 42%, 64%)
CMYKcmyk(42%, 21.6%, 0%, 36.5%)
CIE-LABlab(52.02, -2.27, -22.38)
CIE-LCHlch(52.02, 22.50, 264.20°)
OKLaboklab(58.52% -0.022 -0.0621)
OKLCHoklch(58.52% 0.066 250.4)
XYZxyz(18.7249, 20.1660, 37.0812)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FA2 #A2815E
analogous
#5EA1A2 #5E7FA2 #5F5EA2
triadic
#5E7FA2 #A25E7F #7FA25E
tetradic
#5E7FA2 #A25EA1 #A2815E #5EA25F
square
#5E7FA2 #A25EA1 #A2815E #5EA25F
split-complementary
#5E7FA2 #A25F5E #A1A25E
monochromatic
#314255 #47617B #5E7FA2 #859EB8 #ACBDCF

Accessibility & contrast

On white

4.17
#5E7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5E7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FA2#FFFFFF#000000##000000
##5E7FA21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A4
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#45878B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e7fa2;
/* rgb */ color: rgb(94, 127, 162);
/* oklch */ color: oklch(58.5% 0.066 250.4);
Tailwind
colors: {
  custom: {
    50: '#8ea4bd',
    500: '#5e7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fa2;
$custom-light: #8ea4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fa2",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 210.882,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.06589,
    "h": 250.4
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#5E7FA2
secondary
#BDAE9F
accent
#9565C3
background
#F8FAFB
surface
#F0F3F6
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5E7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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