#5E7EBD#5E7EBD

#5E7EBD is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.6% C 0.104 H 263.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5E7EBD
RGBrgb(94, 126, 189)
HSLhsl(220, 42%, 55%)
HSVhsv(220, 50%, 74%)
CMYKcmyk(50.3%, 33.3%, 0%, 25.9%)
CIE-LABlab(52.92, 6.44, -36.56)
CIE-LCHlch(52.92, 37.12, 279.99°)
OKLaboklab(59.61% -0.0125 -0.1029)
OKLCHoklch(59.61% 0.104 263.1)
XYZxyz(21.2592, 20.9741, 51.0624)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7EBD #BD9D5E
analogous
#5EAEBD #5E7EBD #6D5EBD
triadic
#5E7EBD #BD5E7E #7EBD5E
tetradic
#5E7EBD #BD5EAE #BD9D5E #5EBD6D
square
#5E7EBD #BD5EAE #BD9D5E #5EBD6D
split-complementary
#5E7EBD #BD6D5E #AEBD5E
monochromatic
#2F4572 #40609D #5E7EBD #89A1CF #B5C4E1

Accessibility & contrast

On white

4.04
#5E7EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5E7EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7EBD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7EBD#FFFFFF#000000##000000
##5E7EBD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#5B7ABC
Tritanopia (blue-blind)
#338C95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e7ebd;
/* rgb */ color: rgb(94, 126, 189);
/* oklch */ color: oklch(59.6% 0.104 263.1);
Tailwind
colors: {
  custom: {
    50: '#91a3d1',
    500: '#5e7ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ebd;
$custom-light: #91a3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ebd",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 219.789,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.10364,
    "h": 263.1
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#5E7EBD
secondary
#CFC2A8
accent
#A856D2
background
#F9FAFC
surface
#F1F3F9
border
#CBCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5E7EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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