#5D7FBE#5D7FBE

#5D7FBE is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.8% C 0.104 H 262.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5D7FBE
RGBrgb(93, 127, 190)
HSLhsl(219, 43%, 55%)
HSVhsv(219, 51%, 75%)
CMYKcmyk(51.1%, 33.2%, 0%, 25.5%)
CIE-LABlab(53.19, 5.91, -36.71)
CIE-LCHlch(53.19, 37.18, 279.15°)
OKLaboklab(59.83% -0.0144 -0.1033)
OKLCHoklch(59.83% 0.104 262.1)
XYZxyz(21.3947, 21.2221, 51.6741)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7FBE #BE9C5D
analogous
#5DAFBE #5D7FBE #6B5DBE
triadic
#5D7FBE #BE5D7F #7FBE5D
tetradic
#5D7FBE #BE5DAF #BE9C5D #5DBE6B
square
#5D7FBE #BE5DAF #BE9C5D #5DBE6B
split-complementary
#5D7FBE #BE6B5D #AFBE5D
monochromatic
#2E4673 #40619E #5D7FBE #89A2D0 #B4C4E1

Accessibility & contrast

On white

4.00
#5D7FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5D7FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7FBE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7FBE#FFFFFF#000000##000000
##5D7FBE1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C1
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#308D96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d7fbe;
/* rgb */ color: rgb(93, 127, 190);
/* oklch */ color: oklch(59.8% 0.104 262.1);
Tailwind
colors: {
  custom: {
    50: '#91a3d2',
    500: '#5d7fbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d7fbe;
$custom-light: #91a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7fbe",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 218.969,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.10434,
    "h": 262.1
  },
  "luminance": 0.21224
}

Semantic roles & 50–950 ramp

primary
#5D7FBE
secondary
#D0C1A7
accent
#A755D3
background
#F9FAFC
surface
#F1F3F9
border
#CBCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5D7FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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