#5E62EF#5E62EF

#5E62EF is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.4% C 0.207 H 276.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5E62EF
RGBrgb(94, 98, 239)
HSLhsl(238, 82%, 65%)
HSVhsv(238, 61%, 94%)
CMYKcmyk(60.7%, 59%, 0%, 6.3%)
CIE-LABlab(48.69, 39.62, -71.67)
CIE-LCHlch(48.69, 81.89, 298.93°)
OKLaboklab(57.37% 0.0232 -0.2061)
OKLCHoklch(57.37% 0.207 276.4)
XYZxyz(24.5587, 17.3451, 83.6984)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62EF #EFEB5E
analogous
#5EAAEF #5E62EF #A35EEF
triadic
#5E62EF #EF5E62 #62EF5E
tetradic
#5E62EF #EF5EAA #EFEB5E #5EEFA3
square
#5E62EF #EF5EAA #EFEB5E #5EEFA3
split-complementary
#5E62EF #EFA35E #AAEF5E
monochromatic
#1318C0 #262CE9 #5E62EF #9698F5 #CDCFFA

Accessibility & contrast

On white

4.70
#5E62EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5E62EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62EF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62EF#FFFFFF#000000##FFFFFF
##5E62EF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e62ef;
/* rgb */ color: rgb(94, 98, 239);
/* oklch */ color: oklch(57.4% 0.207 276.4);
Tailwind
colors: {
  custom: {
    50: '#998ff5',
    500: '#5e62ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e62ef;
$custom-light: #998ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62ef",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 238.345,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.20743,
    "h": 276.4
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#5E62EF
secondary
#EDEBBC
accent
#D807DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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