#5D7FB2#5D7FB2

#5D7FB2 is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.2% C 0.088 H 258.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D7FB2
RGBrgb(93, 127, 178)
HSLhsl(216, 36%, 53%)
HSVhsv(216, 48%, 70%)
CMYKcmyk(47.8%, 28.7%, 0%, 30.2%)
CIE-LABlab(52.64, 2.21, -30.68)
CIE-LCHlch(52.64, 30.76, 274.12°)
OKLaboklab(59.22% -0.0178 -0.0859)
OKLCHoklch(59.22% 0.088 258.3)
XYZxyz(20.1368, 20.7189, 45.0489)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FB2 #B2905D
analogous
#5DA9B2 #5D7FB2 #655DB2
triadic
#5D7FB2 #B25D7F #7FB25D
tetradic
#5D7FB2 #B25DA9 #B2905D #5DB265
square
#5D7FB2 #B25DA9 #B2905D #5DB265
split-complementary
#5D7FB2 #B2655D #A9B25D
monochromatic
#304565 #44618E #5D7FB2 #86A0C6 #B0C1D9

Accessibility & contrast

On white

4.08
#5D7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5D7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FB2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FB2#FFFFFF#000000##000000
##5D7FB21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#398A91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d7fb2;
/* rgb */ color: rgb(93, 127, 178);
/* oklch */ color: oklch(59.2% 0.088 258.3);
Tailwind
colors: {
  custom: {
    50: '#8fa3c9',
    500: '#5d7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fb2;
$custom-light: #8fa3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fb2",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 216,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.08773,
    "h": 258.3
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#5D7FB2
secondary
#C8B9A3
accent
#9F5CCC
background
#F9FAFC
surface
#F1F3F8
border
#CBCDD1
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #5D7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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