#5E62CD#5E62CD

#5E62CD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.162 H 278.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5E62CD
RGBrgb(94, 98, 205)
HSLhsl(238, 53%, 59%)
HSVhsv(238, 54%, 80%)
CMYKcmyk(54.1%, 52.2%, 0%, 19.6%)
CIE-LABlab(46.34, 28.69, -56.20)
CIE-LCHlch(46.34, 63.10, 297.04°)
OKLaboklab(54.87% 0.0226 -0.1606)
OKLCHoklch(54.87% 0.162 278)
XYZxyz(19.9997, 15.5215, 59.6878)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62CD #CDC95E
analogous
#5E99CD #5E62CD #915ECD
triadic
#5E62CD #CD5E62 #62CD5E
tetradic
#5E62CD #CD5E99 #CDC95E #5ECD91
square
#5E62CD #CD5E99 #CDC95E #5ECD91
split-complementary
#5E62CD #CD915E #99CD5E
monochromatic
#2A2D87 #383DB5 #5E62CD #8D90DC #BBBDEA

Accessibility & contrast

On white

5.12
#5E62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5E62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62CD#FFFFFF#000000##FFFFFF
##5E62CD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#1469CB
Tritanopia (blue-blind)
#297A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e62cd;
/* rgb */ color: rgb(94, 98, 205);
/* oklch */ color: oklch(54.9% 0.162 278.0);
Tailwind
colors: {
  custom: {
    50: '#948edd',
    500: '#5e62cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e62cd;
$custom-light: #948edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62cd",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 237.838,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.1622,
    "h": 278
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#5E62CD
secondary
#D9D8AD
accent
#D74CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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