#5D74A2#5D74A2

#5D74A2 is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.0% C 0.077 H 263.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5D74A2
RGBrgb(93, 116, 162)
HSLhsl(220, 27%, 50%)
HSVhsv(220, 43%, 64%)
CMYKcmyk(42.6%, 28.4%, 0%, 36.5%)
CIE-LABlab(48.79, 3.97, -27.39)
CIE-LCHlch(48.79, 27.67, 278.25°)
OKLaboklab(55.98% -0.0085 -0.0764)
OKLCHoklch(55.98% 0.077 263.7)
XYZxyz(17.2791, 17.4256, 36.6284)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74A2 #A28B5D
analogous
#5D97A2 #5D74A2 #685DA2
triadic
#5D74A2 #A25D74 #74A25D
tetradic
#5D74A2 #A25D97 #A28B5D #5DA268
square
#5D74A2 #A25D97 #A28B5D #5DA268
split-complementary
#5D74A2 #A2685D #97A25D
monochromatic
#303C54 #47587B #5D74A2 #8495B8 #ABB7CF

Accessibility & contrast

On white

4.68
#5D74A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5D74A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D74A2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74A2#FFFFFF#000000##FFFFFF
##5D74A21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A4
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#457E84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d74a2;
/* rgb */ color: rgb(93, 116, 162);
/* oklch */ color: oklch(56.0% 0.077 263.7);
Tailwind
colors: {
  custom: {
    50: '#8e9bbd',
    500: '#5d74a2',
    950: '#000000',
  },
}
SCSS
$custom: #5d74a2;
$custom-light: #8e9bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74a2",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 220,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.07689,
    "h": 263.7
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#5D74A2
secondary
#BDB39E
accent
#A464C3
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5D74A2

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

Preview Lab → · Contrast checker → · Palette generator →

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