#5E62C8#5E62C8

#5E62C8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.155 H 278.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5E62C8
RGBrgb(94, 98, 200)
HSLhsl(238, 49%, 58%)
HSVhsv(238, 53%, 78%)
CMYKcmyk(53%, 51%, 0%, 21.6%)
CIE-LABlab(46.02, 27.09, -53.84)
CIE-LCHlch(46.02, 60.27, 296.71°)
OKLaboklab(54.53% 0.0222 -0.1537)
OKLCHoklch(54.53% 0.155 278.2)
XYZxyz(19.4058, 15.2840, 56.5599)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62C8 #C8C45E
analogous
#5E97C8 #5E62C8 #8F5EC8
triadic
#5E62C8 #C85E62 #62C85E
tetradic
#5E62C8 #C85E97 #C8C45E #5EC88F
square
#5E62C8 #C85E97 #C8C45E #5EC88F
split-complementary
#5E62C8 #C88F5E #97C85E
monochromatic
#2C2F80 #3B40AE #5E62C8 #8C8ED8 #B9BBE7

Accessibility & contrast

On white

5.18
#5E62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5E62C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62C8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62C8#FFFFFF#000000##FFFFFF
##5E62C81.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#2069C6
Tritanopia (blue-blind)
#2F798C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e62c8;
/* rgb */ color: rgb(94, 98, 200);
/* oklch */ color: oklch(54.5% 0.155 278.2);
Tailwind
colors: {
  custom: {
    50: '#938ed9',
    500: '#5e62c8',
    950: '#000000',
  },
}
SCSS
$custom: #5e62c8;
$custom-light: #938ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62c8",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 237.736,
    "s": 49.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.15528,
    "h": 278.2
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#5E62C8
secondary
#D6D5AC
accent
#D34FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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