#5E81CA#5E81CA

#5E81CA is a mid, moderate blue. Relative luminance 0.223; OKLCH L 61.0% C 0.118 H 263.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5E81CA
RGBrgb(94, 129, 202)
HSLhsl(221, 50%, 58%)
HSVhsv(221, 53%, 79%)
CMYKcmyk(53.5%, 36.1%, 0%, 20.8%)
CIE-LABlab(54.39, 8.73, -41.66)
CIE-LCHlch(54.39, 42.56, 281.84°)
OKLaboklab(60.96% -0.0128 -0.1177)
OKLCHoklch(60.96% 0.118 263.8)
XYZxyz(23.1234, 22.3428, 58.9597)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81CA #CAA75E
analogous
#5EB7CA #5E81CA #715ECA
triadic
#5E81CA #CA5E81 #81CA5E
tetradic
#5E81CA #CA5EB7 #CAA75E #5ECA71
square
#5E81CA #CA5EB7 #CAA75E #5ECA71
split-complementary
#5E81CA #CA715E #B7CA5E
monochromatic
#2B4783 #3A61B1 #5E81CA #8CA5D9 #BAC9E8

Accessibility & contrast

On white

3.84
#5E81CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5E81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81CA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81CA#FFFFFF#000000##000000
##5E81CA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CD
Deuteranopia (green-blind)
#577EC8
Tritanopia (blue-blind)
#25919C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e81ca;
/* rgb */ color: rgb(94, 129, 202);
/* oklch */ color: oklch(61.0% 0.118 263.8);
Tailwind
colors: {
  custom: {
    50: '#92a5da',
    500: '#5e81ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e81ca;
$custom-light: #92a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81ca",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 220.556,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60962,
    "c": 0.1184,
    "h": 263.8
  },
  "luminance": 0.22344
}

Semantic roles & 50–950 ramp

primary
#5E81CA
secondary
#D7C9AC
accent
#AD4EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5E81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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