#5F62EF#5F62EF

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

Color values

HEX#5F62EF
RGBrgb(95, 98, 239)
HSLhsl(239, 82%, 65%)
HSVhsv(239, 60%, 94%)
CMYKcmyk(60.3%, 59%, 0%, 6.3%)
CIE-LABlab(48.76, 39.78, -71.56)
CIE-LCHlch(48.76, 81.87, 299.07°)
OKLaboklab(57.43% 0.0244 -0.2058)
OKLCHoklch(57.43% 0.207 276.8)
XYZxyz(24.6619, 17.3983, 83.7032)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62EF #EFEC5F
analogous
#5FAAEF #5F62EF #A45FEF
triadic
#5F62EF #EF5F62 #62EF5F
tetradic
#5F62EF #EF5FAA #EFEC5F #5FEFA4
square
#5F62EF #EF5FAA #EFEC5F #5FEFA4
split-complementary
#5F62EF #EFA45F #AAEF5F
monochromatic
#1317C0 #272BE9 #5F62EF #9799F5 #CECFFA

Accessibility & contrast

On white

4.69
#5F62EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5F62EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F62EF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F62EF#FFFFFF#000000##FFFFFF
##5F62EF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f62ef;
/* rgb */ color: rgb(95, 98, 239);
/* oklch */ color: oklch(57.4% 0.207 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ff5',
    500: '#5f62ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f62ef;
$custom-light: #9a8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62ef",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 238.75,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.20722,
    "h": 276.8
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#5F62EF
secondary
#EDECBD
accent
#DA07DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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