#5E62DF#5E62DF

#5E62DF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.2% C 0.187 H 277.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5E62DF
RGBrgb(94, 98, 223)
HSLhsl(238, 67%, 62%)
HSVhsv(238, 58%, 87%)
CMYKcmyk(57.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(47.55, 34.47, -64.51)
CIE-LCHlch(47.55, 73.14, 298.11°)
OKLaboklab(56.16% 0.0233 -0.1851)
OKLCHoklch(56.16% 0.187 277.2)
XYZxyz(22.2988, 16.4411, 71.7961)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62DF #DFDB5E
analogous
#5EA2DF #5E62DF #9B5EDF
triadic
#5E62DF #DF5E62 #62DF5E
tetradic
#5E62DF #DF5EA2 #DFDB5E #5EDF9B
square
#5E62DF #DF5EA2 #DFDB5E #5EDF9B
split-complementary
#5E62DF #DF9B5E #A2DF5E
monochromatic
#2024A2 #2B30D5 #5E62DF #9194E9 #C4C6F3

Accessibility & contrast

On white

4.90
#5E62DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5E62DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62DF#FFFFFF#000000##FFFFFF
##5E62DF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e62df;
/* rgb */ color: rgb(94, 98, 223);
/* oklch */ color: oklch(56.2% 0.187 277.2);
Tailwind
colors: {
  custom: {
    50: '#978eea',
    500: '#5e62df',
    950: '#000000',
  },
}
SCSS
$custom: #5e62df;
$custom-light: #978eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62df",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 238.14,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.18654,
    "h": 277.2
  },
  "luminance": 0.16443
}

Semantic roles & 50–950 ramp

primary
#5E62DF
secondary
#E4E3B5
accent
#C917CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5E62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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