#5E81BD#5E81BD

#5E81BD is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.3% C 0.100 H 260.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5E81BD
RGBrgb(94, 129, 189)
HSLhsl(218, 42%, 55%)
HSVhsv(218, 50%, 74%)
CMYKcmyk(50.3%, 31.7%, 0%, 25.9%)
CIE-LABlab(53.76, 4.65, -35.23)
CIE-LCHlch(53.76, 35.54, 277.51°)
OKLaboklab(60.27% -0.0161 -0.099)
OKLCHoklch(60.27% 0.1 260.8)
XYZxyz(21.6486, 21.7528, 51.1922)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81BD #BD9A5E
analogous
#5EB0BD #5E81BD #6A5EBD
triadic
#5E81BD #BD5E81 #81BD5E
tetradic
#5E81BD #BD5EB0 #BD9A5E #5EBD6A
square
#5E81BD #BD5EB0 #BD9A5E #5EBD6A
split-complementary
#5E81BD #BD6A5E #B0BD5E
monochromatic
#2F4772 #40639D #5E81BD #89A3CF #B5C5E1

Accessibility & contrast

On white

3.92
#5E81BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5E81BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81BD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81BD#FFFFFF#000000##000000
##5E81BD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85C0
Deuteranopia (green-blind)
#5F7CBC
Tritanopia (blue-blind)
#338E96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e81bd;
/* rgb */ color: rgb(94, 129, 189);
/* oklch */ color: oklch(60.3% 0.100 260.8);
Tailwind
colors: {
  custom: {
    50: '#91a5d1',
    500: '#5e81bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e81bd;
$custom-light: #91a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81bd",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 217.895,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.10034,
    "h": 260.8
  },
  "luminance": 0.21754
}

Semantic roles & 50–950 ramp

primary
#5E81BD
secondary
#CFC1A8
accent
#A456D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5E81BD

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

Preview Lab → · Contrast checker → · Palette generator →

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