#5D7FBB#5D7FBB

#5D7FBB is a mid, moderate blue. Relative luminance 0.211; OKLCH L 59.7% C 0.100 H 261.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5D7FBB
RGBrgb(93, 127, 187)
HSLhsl(218, 41%, 55%)
HSVhsv(218, 50%, 73%)
CMYKcmyk(50.3%, 32.1%, 0%, 26.7%)
CIE-LABlab(53.05, 4.98, -35.21)
CIE-LCHlch(53.05, 35.56, 278.05°)
OKLaboklab(59.67% -0.0152 -0.099)
OKLCHoklch(59.67% 0.1 261.3)
XYZxyz(21.0702, 21.0923, 49.9650)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FBB #BB995D
analogous
#5DAEBB #5D7FBB #6A5DBB
triadic
#5D7FBB #BB5D7F #7FBB5D
tetradic
#5D7FBB #BB5DAE #BB995D #5DBB6A
square
#5D7FBB #BB5DAE #BB995D #5DBB6A
split-complementary
#5D7FBB #BB6A5D #AEBB5D
monochromatic
#2F466F #41619A #5D7FBB #88A1CD #B3C3DF

Accessibility & contrast

On white

4.02
#5D7FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5D7FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FBB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FBB#FFFFFF#000000##000000
##5D7FBB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BE
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#328C94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d7fbb;
/* rgb */ color: rgb(93, 127, 187);
/* oklch */ color: oklch(59.7% 0.100 261.3);
Tailwind
colors: {
  custom: {
    50: '#90a3cf',
    500: '#5d7fbb',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fbb;
$custom-light: #90a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fbb",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 218.298,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.10016,
    "h": 261.3
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#5D7FBB
secondary
#CEBFA6
accent
#A557D1
background
#F9FAFC
surface
#F1F3F9
border
#CBCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5D7FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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