#5F62EA#5F62EA

#5F62EA is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.0% C 0.201 H 277.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F62EA
RGBrgb(95, 98, 234)
HSLhsl(239, 77%, 65%)
HSVhsv(239, 59%, 92%)
CMYKcmyk(59.4%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.39, 38.17, -69.35)
CIE-LCHlch(48.39, 79.16, 298.83°)
OKLaboklab(57.05% 0.0245 -0.1993)
OKLCHoklch(57.05% 0.201 277)
XYZxyz(23.9335, 17.1070, 79.8667)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62EA #EAE75F
analogous
#5FA8EA #5F62EA #A25FEA
triadic
#5F62EA #EA5F62 #62EA5F
tetradic
#5F62EA #EA5FA8 #EAE75F #5FEAA2
square
#5F62EA #EA5FA8 #EAE75F #5FEAA2
split-complementary
#5F62EA #EAA25F #A8EA5F
monochromatic
#181BB7 #292DE3 #5F62EA #9597F1 #CBCCF8

Accessibility & contrast

On white

4.75
#5F62EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5F62EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F62EA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F62EA#FFFFFF#000000##FFFFFF
##5F62EA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f62ea;
/* rgb */ color: rgb(95, 98, 234);
/* oklch */ color: oklch(57.0% 0.201 277.0);
Tailwind
colors: {
  custom: {
    50: '#998ff2',
    500: '#5f62ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f62ea;
$custom-light: #998ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62ea",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 238.705,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.20076,
    "h": 277
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#5F62EA
secondary
#EAE9BA
accent
#D50CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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