#5F62E8#5F62E8

#5F62E8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.198 H 277.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5F62E8
RGBrgb(95, 98, 232)
HSLhsl(239, 75%, 64%)
HSVhsv(239, 59%, 91%)
CMYKcmyk(59.1%, 57.8%, 0%, 9%)
CIE-LABlab(48.25, 37.53, -68.45)
CIE-LCHlch(48.25, 78.07, 298.74°)
OKLaboklab(56.9% 0.0245 -0.1966)
OKLCHoklch(56.9% 0.198 277.1)
XYZxyz(23.6478, 16.9927, 78.3620)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62E8 #E8E55F
analogous
#5FA7E8 #5F62E8 #A15FE8
triadic
#5F62E8 #E85F62 #62E85F
tetradic
#5F62E8 #E85FA7 #E8E55F #5FE8A1
square
#5F62E8 #E85FA7 #E8E55F #5FE8A1
split-complementary
#5F62E8 #E8A15F #A7E85F
monochromatic
#1A1DB3 #292DE0 #5F62E8 #9597F0 #CACBF7

Accessibility & contrast

On white

4.77
#5F62E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5F62E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F62E8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F62E8#FFFFFF#000000##FFFFFF
##5F62E81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f62e8;
/* rgb */ color: rgb(95, 98, 232);
/* oklch */ color: oklch(56.9% 0.198 277.1);
Tailwind
colors: {
  custom: {
    50: '#998ef0',
    500: '#5f62e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f62e8;
$custom-light: #998ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62e8",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 238.686,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.19816,
    "h": 277.1
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#5F62E8
secondary
#E9E8BA
accent
#D30ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F62E8

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

Preview Lab → · Contrast checker → · Palette generator →

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