#5D7ECA#5D7ECA

#5D7ECA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.122 H 265.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5D7ECA
RGBrgb(93, 126, 202)
HSLhsl(222, 51%, 58%)
HSVhsv(222, 54%, 79%)
CMYKcmyk(54%, 37.6%, 0%, 20.8%)
CIE-LABlab(53.50, 10.32, -43.06)
CIE-LCHlch(53.50, 44.27, 283.48°)
OKLaboklab(60.26% -0.0103 -0.1218)
OKLCHoklch(60.26% 0.122 265.2)
XYZxyz(22.6322, 21.5115, 58.8252)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7ECA #CAA95D
analogous
#5DB4CA #5D7ECA #725DCA
triadic
#5D7ECA #CA5D7E #7ECA5D
tetradic
#5D7ECA #CA5DB4 #CAA95D #5DCA72
square
#5D7ECA #CA5DB4 #CAA95D #5DCA72
split-complementary
#5D7ECA #CA725D #B4CA5D
monochromatic
#2B4582 #3A5EB0 #5D7ECA #8BA3D9 #B9C7E8

Accessibility & contrast

On white

3.96
#5D7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5D7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7ECA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7ECA#FFFFFF#000000##000000
##5D7ECA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#228F9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7eca;
/* rgb */ color: rgb(93, 126, 202);
/* oklch */ color: oklch(60.3% 0.122 265.2);
Tailwind
colors: {
  custom: {
    50: '#92a3da',
    500: '#5d7eca',
    950: '#000000',
  },
}
SCSS
$custom: #5d7eca;
$custom-light: #92a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7eca",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 221.835,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.12226,
    "h": 265.2
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#5D7ECA
secondary
#D7CAAC
accent
#B04EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #5D7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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