#5E62F5#5E62F5

#5E62F5 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.8% C 0.215 H 276.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5E62F5
RGBrgb(94, 98, 245)
HSLhsl(238, 88%, 66%)
HSVhsv(238, 62%, 96%)
CMYKcmyk(61.6%, 60%, 0%, 3.9%)
CIE-LABlab(49.14, 41.55, -74.30)
CIE-LCHlch(49.14, 85.13, 299.21°)
OKLaboklab(57.83% 0.0231 -0.2139)
OKLCHoklch(57.83% 0.215 276.2)
XYZxyz(25.4598, 17.7056, 88.4443)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62F5 #F5F15E
analogous
#5EADF5 #5E62F5 #A65EF5
triadic
#5E62F5 #F55E62 #62F55E
tetradic
#5E62F5 #F55EAD #F5F15E #5EF5A6
square
#5E62F5 #F55EAD #F5F15E #5EF5A6
split-complementary
#5E62F5 #F5A65E #ADF55E
monochromatic
#0D12CC #242AF1 #5E62F5 #989AF9 #D1D2FC

Accessibility & contrast

On white

4.62
#5E62F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5E62F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62F5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62F5#FFFFFF#000000##FFFFFF
##5E62F51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#006EF2
Tritanopia (blue-blind)
#0086A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e62f5;
/* rgb */ color: rgb(94, 98, 245);
/* oklch */ color: oklch(57.8% 0.215 276.2);
Tailwind
colors: {
  custom: {
    50: '#9a8ff9',
    500: '#5e62f5',
    950: '#000000',
  },
}
SCSS
$custom: #5e62f5;
$custom-light: #9a8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62f5",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 238.411,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.21511,
    "h": 276.2
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#5E62F5
secondary
#F0EFBF
accent
#DF01E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E62F5

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

Preview Lab → · Contrast checker → · Palette generator →

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