#5E81BE#5E81BE

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

Color values

HEX#5E81BE
RGBrgb(94, 129, 190)
HSLhsl(218, 42%, 56%)
HSVhsv(218, 51%, 75%)
CMYKcmyk(50.5%, 32.1%, 0%, 25.5%)
CIE-LABlab(53.81, 4.96, -35.73)
CIE-LCHlch(53.81, 36.08, 277.90°)
OKLaboklab(60.32% -0.0158 -0.1005)
OKLCHoklch(60.32% 0.102 261)
XYZxyz(21.7575, 21.7964, 51.7658)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81BE #BE9B5E
analogous
#5EB1BE #5E81BE #6B5EBE
triadic
#5E81BE #BE5E81 #81BE5E
tetradic
#5E81BE #BE5EB1 #BE9B5E #5EBE6B
square
#5E81BE #BE5EB1 #BE9B5E #5EBE6B
split-complementary
#5E81BE #BE6B5E #B1BE5E
monochromatic
#2E4873 #40639F #5E81BE #8AA3D0 #B5C5E1

Accessibility & contrast

On white

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

On black

5.36
#5E81BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81BE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81BE#FFFFFF#000000##000000
##5E81BE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6986C1
Deuteranopia (green-blind)
#5E7DBD
Tritanopia (blue-blind)
#328E97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e81be;
/* rgb */ color: rgb(94, 129, 190);
/* oklch */ color: oklch(60.3% 0.102 261.0);
Tailwind
colors: {
  custom: {
    50: '#91a5d2',
    500: '#5e81be',
    950: '#000000',
  },
}
SCSS
$custom: #5e81be;
$custom-light: #91a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81be",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 190
  },
  "hsl": {
    "h": 218.125,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.10172,
    "h": 261
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#5E81BE
secondary
#D0C1A8
accent
#A556D2
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5E81BE

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

Preview Lab → · Contrast checker → · Palette generator →

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