#5D7FD4#5D7FD4

#5D7FD4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.135 H 266.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5D7FD4
RGBrgb(93, 127, 212)
HSLhsl(223, 58%, 60%)
HSVhsv(223, 56%, 83%)
CMYKcmyk(56.1%, 40.1%, 0%, 16.9%)
CIE-LABlab(54.30, 12.94, -47.46)
CIE-LCHlch(54.30, 49.19, 285.25°)
OKLaboklab(61.05% -0.0092 -0.1347)
OKLCHoklch(61.05% 0.135 266.1)
XYZxyz(23.9832, 22.2575, 65.3069)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FD4 #D4B25D
analogous
#5DBBD4 #5D7FD4 #765DD4
triadic
#5D7FD4 #D45D7F #7FD45D
tetradic
#5D7FD4 #D45DBB #D4B25D #5DD476
square
#5D7FD4 #D45DBB #D4B25D #5DD476
split-complementary
#5D7FD4 #D4765D #BBD45D
monochromatic
#264590 #335CC1 #5D7FD4 #8DA5E1 #BECBEE

Accessibility & contrast

On white

3.85
#5D7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5D7FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FD4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FD4#FFFFFF#000000##000000
##5D7FD41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D7
Deuteranopia (green-blind)
#4C7DD2
Tritanopia (blue-blind)
#0B929F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d7fd4;
/* rgb */ color: rgb(93, 127, 212);
/* oklch */ color: oklch(61.0% 0.135 266.1);
Tailwind
colors: {
  custom: {
    50: '#93a3e1',
    500: '#5d7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fd4;
$custom-light: #93a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fd4",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 222.857,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61046,
    "c": 0.13503,
    "h": 266.1
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#5D7FD4
secondary
#DDD0AF
accent
#B547E1
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5D7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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