#5D7FCB#5D7FCB

#5D7FCB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.122 H 264.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D7FCB
RGBrgb(93, 127, 203)
HSLhsl(221, 51%, 58%)
HSVhsv(221, 54%, 80%)
CMYKcmyk(54.2%, 37.4%, 0%, 20.4%)
CIE-LABlab(53.83, 10.04, -43.11)
CIE-LCHlch(53.83, 44.26, 283.11°)
OKLaboklab(60.53% -0.0112 -0.122)
OKLCHoklch(60.53% 0.122 264.8)
XYZxyz(22.8794, 21.8160, 59.4936)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FCB #CBA95D
analogous
#5DB6CB #5D7FCB #725DCB
triadic
#5D7FCB #CB5D7F #7FCB5D
tetradic
#5D7FCB #CB5DB6 #CBA95D #5DCB72
square
#5D7FCB #CB5DB6 #CBA95D #5DCB72
split-complementary
#5D7FCB #CB725D #B6CB5D
monochromatic
#2A4683 #395EB2 #5D7FCB #8BA4DA #BAC8E9

Accessibility & contrast

On white

3.92
#5D7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5D7FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FCB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FCB#FFFFFF#000000##000000
##5D7FCB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#20909B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7fcb;
/* rgb */ color: rgb(93, 127, 203);
/* oklch */ color: oklch(60.5% 0.122 264.8);
Tailwind
colors: {
  custom: {
    50: '#92a3db',
    500: '#5d7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fcb;
$custom-light: #92a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fcb",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 221.455,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.12249,
    "h": 264.8
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

primary
#5D7FCB
secondary
#D8CAAC
accent
#AF4DDB
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5D7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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