#5D7ECB#5D7ECB

#5D7ECB is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.124 H 265.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D7ECB
RGBrgb(93, 126, 203)
HSLhsl(222, 51%, 58%)
HSVhsv(222, 54%, 80%)
CMYKcmyk(54.2%, 37.9%, 0%, 20.4%)
CIE-LABlab(53.56, 10.64, -43.54)
CIE-LCHlch(53.56, 44.82, 283.73°)
OKLaboklab(60.32% -0.01 -0.1233)
OKLCHoklch(60.32% 0.124 265.3)
XYZxyz(22.7509, 21.5590, 59.4507)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7ECB #CBAA5D
analogous
#5DB5CB #5D7ECB #735DCB
triadic
#5D7ECB #CB5D7E #7ECB5D
tetradic
#5D7ECB #CB5DB5 #CBAA5D #5DCB73
square
#5D7ECB #CB5DB5 #CBAA5D #5DCB73
split-complementary
#5D7ECB #CB735D #B5CB5D
monochromatic
#2A4583 #395DB2 #5D7ECB #8BA3DA #BAC8E9

Accessibility & contrast

On white

3.95
#5D7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5D7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7ECB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7ECB#FFFFFF#000000##000000
##5D7ECB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#527BC9
Tritanopia (blue-blind)
#208F9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7ecb;
/* rgb */ color: rgb(93, 126, 203);
/* oklch */ color: oklch(60.3% 0.124 265.3);
Tailwind
colors: {
  custom: {
    50: '#92a3db',
    500: '#5d7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ecb;
$custom-light: #92a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ecb",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 222,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.12367,
    "h": 265.3
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#5D7ECB
secondary
#D8CBAC
accent
#B04DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #5D7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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