#5E62DB#5E62DB

#5E62DB is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.9% C 0.181 H 277.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E62DB
RGBrgb(94, 98, 219)
HSLhsl(238, 63%, 61%)
HSVhsv(238, 57%, 86%)
CMYKcmyk(57.1%, 55.3%, 0%, 14.1%)
CIE-LABlab(47.27, 33.18, -62.69)
CIE-LCHlch(47.27, 70.93, 297.89°)
OKLaboklab(55.86% 0.0232 -0.1797)
OKLCHoklch(55.86% 0.181 277.4)
XYZxyz(21.7659, 16.2280, 68.9894)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62DB #DBD75E
analogous
#5EA1DB #5E62DB #995EDB
triadic
#5E62DB #DB5E62 #62DB5E
tetradic
#5E62DB #DB5EA1 #DBD75E #5EDB99
square
#5E62DB #DB5EA1 #DBD75E #5EDB99
split-complementary
#5E62DB #DB995E #A1DB5E
monochromatic
#23279C #2E33CE #5E62DB #9093E6 #C2C4F1

Accessibility & contrast

On white

4.95
#5E62DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5E62DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62DB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62DB#FFFFFF#000000##FFFFFF
##5E62DB1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0275DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#0E7E95
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e62db;
/* rgb */ color: rgb(94, 98, 219);
/* oklch */ color: oklch(55.9% 0.181 277.4);
Tailwind
colors: {
  custom: {
    50: '#968ee7',
    500: '#5e62db',
    950: '#000000',
  },
}
SCSS
$custom: #5e62db;
$custom-light: #968ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62db",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 238.08,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.1812,
    "h": 277.4
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#5E62DB
secondary
#E2E0B3
accent
#C61ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5E62DB

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

Preview Lab → · Contrast checker → · Palette generator →

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