#5D62DF#5D62DF

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

Color values

HEX#5D62DF
RGBrgb(93, 98, 223)
HSLhsl(238, 67%, 62%)
HSVhsv(238, 58%, 87%)
CMYKcmyk(58.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(47.48, 34.29, -64.63)
CIE-LCHlch(47.48, 73.16, 297.95°)
OKLaboklab(56.09% 0.0222 -0.1854)
OKLCHoklch(56.09% 0.187 276.8)
XYZxyz(22.1969, 16.3886, 71.7914)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62DF #DFDA5D
analogous
#5DA3DF #5D62DF #995DDF
triadic
#5D62DF #DF5D62 #62DF5D
tetradic
#5D62DF #DF5DA3 #DFDA5D #5DDF99
square
#5D62DF #DF5DA3 #DFDA5D #5DDF99
split-complementary
#5D62DF #DF995D #A3DF5D
monochromatic
#2025A2 #2A31D5 #5D62DF #9094E9 #C3C5F3

Accessibility & contrast

On white

4.91
#5D62DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5D62DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62DF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62DF#FFFFFF#000000##FFFFFF
##5D62DF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.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: #5d62df;
/* rgb */ color: rgb(93, 98, 223);
/* oklch */ color: oklch(56.1% 0.187 276.8);
Tailwind
colors: {
  custom: {
    50: '#968eea',
    500: '#5d62df',
    950: '#000000',
  },
}
SCSS
$custom: #5d62df;
$custom-light: #968eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62df",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 237.692,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.18676,
    "h": 276.8
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#5D62DF
secondary
#E4E2B4
accent
#C817CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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