#5E62DC#5E62DC

#5E62DC is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.9% C 0.183 H 277.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5E62DC
RGBrgb(94, 98, 220)
HSLhsl(238, 64%, 62%)
HSVhsv(238, 57%, 86%)
CMYKcmyk(57.3%, 55.5%, 0%, 13.7%)
CIE-LABlab(47.34, 33.50, -63.15)
CIE-LCHlch(47.34, 71.48, 297.95°)
OKLaboklab(55.94% 0.0232 -0.1811)
OKLCHoklch(55.94% 0.183 277.3)
XYZxyz(21.8979, 16.2808, 69.6849)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62DC #DCD85E
analogous
#5EA1DC #5E62DC #995EDC
triadic
#5E62DC #DC5E62 #62DC5E
tetradic
#5E62DC #DC5EA1 #DCD85E #5EDC99
square
#5E62DC #DC5EA1 #DCD85E #5EDC99
split-complementary
#5E62DC #DC995E #A1DC5E
monochromatic
#22269D #2D32D0 #5E62DC #9093E7 #C3C4F2

Accessibility & contrast

On white

4.93
#5E62DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5E62DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62DC#FFFFFF#000000##FFFFFF
##5E62DC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#0B7F95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e62dc;
/* rgb */ color: rgb(94, 98, 220);
/* oklch */ color: oklch(55.9% 0.183 277.3);
Tailwind
colors: {
  custom: {
    50: '#968ee8',
    500: '#5e62dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e62dc;
$custom-light: #968ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62dc",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 238.095,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.18254,
    "h": 277.3
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#5E62DC
secondary
#E2E1B3
accent
#C619CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5E62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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