#5D62F6#5D62F6

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

Color values

HEX#5D62F6
RGBrgb(93, 98, 246)
HSLhsl(238, 89%, 66%)
HSVhsv(238, 62%, 96%)
CMYKcmyk(62.2%, 60.2%, 0%, 3.5%)
CIE-LABlab(49.15, 41.72, -74.85)
CIE-LCHlch(49.15, 85.69, 299.13°)
OKLaboklab(57.85% 0.0219 -0.2155)
OKLCHoklch(57.85% 0.217 275.8)
XYZxyz(25.5110, 17.7143, 89.2457)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62F6 #F6F15D
analogous
#5DAFF6 #5D62F6 #A55DF6
triadic
#5D62F6 #F65D62 #62F65D
tetradic
#5D62F6 #F65DAF #F6F15D #5DF6A5
square
#5D62F6 #F65DAF #F6F15D #5DF6A5
split-complementary
#5D62F6 #F6A55D #AFF65D
monochromatic
#0B12CD #232AF3 #5D62F6 #979AF9 #D1D2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D62F6#FFFFFF#000000##FFFFFF
##5D62F61.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)
#007CFB
Deuteranopia (green-blind)
#006EF3
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d62f6;
/* rgb */ color: rgb(93, 98, 246);
/* oklch */ color: oklch(57.8% 0.217 275.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ffa',
    500: '#5d62f6',
    950: '#000000',
  },
}
SCSS
$custom: #5d62f6;
$custom-light: #9a8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62f6",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 238.039,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.2166,
    "h": 275.8
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D62F6

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

Preview Lab → · Contrast checker → · Palette generator →

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