#5E7CD2#5E7CD2

#5E7CD2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.136 H 267.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5E7CD2
RGBrgb(94, 124, 210)
HSLhsl(224, 56%, 60%)
HSVhsv(224, 55%, 82%)
CMYKcmyk(55.2%, 41%, 0%, 17.6%)
CIE-LABlab(53.43, 14.32, -47.70)
CIE-LCHlch(53.43, 49.80, 286.71°)
OKLaboklab(60.36% -0.0053 -0.1354)
OKLCHoklch(60.36% 0.136 267.7)
XYZxyz(23.4527, 21.4464, 63.8640)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CD2 #D2B45E
analogous
#5EB6D2 #5E7CD2 #7A5ED2
triadic
#5E7CD2 #D25E7C #7CD25E
tetradic
#5E7CD2 #D25EB6 #D2B45E #5ED27A
square
#5E7CD2 #D25EB6 #D2B45E #5ED27A
split-complementary
#5E7CD2 #D27A5E #B6D25E
monochromatic
#28428E #3558BE #5E7CD2 #8EA3DF #BECAED

Accessibility & contrast

On white

3.97
#5E7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5E7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CD2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CD2#FFFFFF#000000##000000
##5E7CD21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D5
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#198F9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7cd2;
/* rgb */ color: rgb(94, 124, 210);
/* oklch */ color: oklch(60.4% 0.136 267.7);
Tailwind
colors: {
  custom: {
    50: '#94a1e0',
    500: '#5e7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cd2;
$custom-light: #94a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cd2",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 224.483,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6036,
    "c": 0.13553,
    "h": 267.7
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#5E7CD2
secondary
#DCD1AF
accent
#B848E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5E7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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