#5F62EE#5F62EE

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

Color values

HEX#5F62EE
RGBrgb(95, 98, 238)
HSLhsl(239, 81%, 65%)
HSVhsv(239, 60%, 93%)
CMYKcmyk(60.1%, 58.8%, 0%, 6.7%)
CIE-LABlab(48.68, 39.46, -71.12)
CIE-LCHlch(48.68, 81.33, 299.02°)
OKLaboklab(57.36% 0.0244 -0.2045)
OKLCHoklch(57.36% 0.206 276.8)
XYZxyz(24.5146, 17.3394, 82.9273)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62EE #EEEB5F
analogous
#5FAAEE #5F62EE #A35FEE
triadic
#5F62EE #EE5F62 #62EE5F
tetradic
#5F62EE #EE5FAA #EEEB5F #5FEEA3
square
#5F62EE #EE5FAA #EEEB5F #5FEEA3
split-complementary
#5F62EE #EEA35F #AAEE5F
monochromatic
#1418BE #282CE8 #5F62EE #9698F4 #CECFFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F62EE#FFFFFF#000000##FFFFFF
##5F62EE1.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)
#007AF3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f62ee;
/* rgb */ color: rgb(95, 98, 238);
/* oklch */ color: oklch(57.4% 0.206 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ff4',
    500: '#5f62ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f62ee;
$custom-light: #9a8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62ee",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 238.741,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.20593,
    "h": 276.8
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#5F62EE
secondary
#ECEBBC
accent
#D908DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F62EE

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

Preview Lab → · Contrast checker → · Palette generator →

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