#5E62F7#5E62F7

#5E62F7 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.0% C 0.218 H 276.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5E62F7
RGBrgb(94, 98, 247)
HSLhsl(238, 91%, 67%)
HSVhsv(238, 62%, 97%)
CMYKcmyk(61.9%, 60.3%, 0%, 3.1%)
CIE-LABlab(49.29, 42.19, -75.18)
CIE-LCHlch(49.29, 86.21, 299.30°)
OKLaboklab(57.99% 0.023 -0.2164)
OKLCHoklch(57.99% 0.218 276.1)
XYZxyz(25.7668, 17.8284, 90.0610)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62F7 #F7F35E
analogous
#5EAFF7 #5E62F7 #A65EF7
triadic
#5E62F7 #F75E62 #62F75E
tetradic
#5E62F7 #F75EAF #F7F35E #5EF7A6
square
#5E62F7 #F75EAF #F7F35E #5EF7A6
split-complementary
#5E62F7 #F7A65E #AFF75E
monochromatic
#0A10D0 #2429F4 #5E62F7 #989BFA #D3D4FD

Accessibility & contrast

On white

4.60
#5E62F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5E62F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62F7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62F7#FFFFFF#000000##FFFFFF
##5E62F71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#006FF4
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e62f7;
/* rgb */ color: rgb(94, 98, 247);
/* oklch */ color: oklch(58.0% 0.218 276.1);
Tailwind
colors: {
  custom: {
    50: '#9b8ffb',
    500: '#5e62f7',
    950: '#000000',
  },
}
SCSS
$custom: #5e62f7;
$custom-light: #9b8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62f7",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 238.431,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.21765,
    "h": 276.1
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#5E62F7
secondary
#F1F0C0
accent
#DF00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5E62F7

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

Preview Lab → · Contrast checker → · Palette generator →

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