#5D7ABB#5D7ABB

#5D7ABB is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.6% C 0.106 H 265.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5D7ABB
RGBrgb(93, 122, 187)
HSLhsl(221, 41%, 55%)
HSVhsv(221, 50%, 73%)
CMYKcmyk(50.3%, 34.8%, 0%, 26.7%)
CIE-LABlab(51.65, 7.98, -37.41)
CIE-LCHlch(51.65, 38.26, 282.04°)
OKLaboklab(58.58% -0.0091 -0.1054)
OKLCHoklch(58.58% 0.106 265)
XYZxyz(20.4404, 19.8327, 49.7551)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7ABB #BB9E5D
analogous
#5DA9BB #5D7ABB #6F5DBB
triadic
#5D7ABB #BB5D7A #7ABB5D
tetradic
#5D7ABB #BB5DA9 #BB9E5D #5DBB6F
square
#5D7ABB #BB5DA9 #BB9E5D #5DBB6F
split-complementary
#5D7ABB #BB6F5D #A9BB5D
monochromatic
#2F426F #415C9A #5D7ABB #889DCD #B3C1DF

Accessibility & contrast

On white

4.23
#5D7ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5D7ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7ABB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7ABB#FFFFFF#000000##000000
##5D7ABB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#5777BA
Tritanopia (blue-blind)
#338892
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d7abb;
/* rgb */ color: rgb(93, 122, 187);
/* oklch */ color: oklch(58.6% 0.106 265.0);
Tailwind
colors: {
  custom: {
    50: '#90a0d0',
    500: '#5d7abb',
    950: '#000000',
  },
}
SCSS
$custom: #5d7abb;
$custom-light: #90a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7abb",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 221.489,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.10582,
    "h": 265
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#5D7ABB
secondary
#CEC1A6
accent
#AB57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5D7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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