#5E7CD7#5E7CD7

#5E7CD7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.142 H 268.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5E7CD7
RGBrgb(94, 124, 215)
HSLhsl(225, 60%, 61%)
HSVhsv(225, 56%, 84%)
CMYKcmyk(56.3%, 42.3%, 0%, 15.7%)
CIE-LABlab(53.71, 15.94, -50.09)
CIE-LCHlch(53.71, 52.57, 287.66°)
OKLaboklab(60.66% -0.0044 -0.1424)
OKLCHoklch(60.66% 0.143 268.2)
XYZxyz(24.0854, 21.6994, 67.1960)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CD7 #D7B95E
analogous
#5EB8D7 #5E7CD7 #7C5ED7
triadic
#5E7CD7 #D75E7C #7CD75E
tetradic
#5E7CD7 #D75EB8 #D7B95E #5ED77C
square
#5E7CD7 #D75EB8 #D7B95E #5ED77C
split-complementary
#5E7CD7 #D77C5E #B8D75E
monochromatic
#254195 #3156C6 #5E7CD7 #8FA4E3 #C0CCEF

Accessibility & contrast

On white

3.93
#5E7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5E7CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CD7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CD7#FFFFFF#000000##000000
##5E7CD71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586DB
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#0C909F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7cd7;
/* rgb */ color: rgb(94, 124, 215);
/* oklch */ color: oklch(60.7% 0.142 268.2);
Tailwind
colors: {
  custom: {
    50: '#94a1e4',
    500: '#5e7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cd7;
$custom-light: #94a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cd7",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 225.124,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.1425,
    "h": 268.2
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#5E7CD7
secondary
#DFD4B1
accent
#9E1EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #5E7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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