#5F62FF#5F62FF

#5F62FF is a mid, highly saturated blue. Relative luminance 0.184; OKLCH L 58.7% C 0.227 H 276.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5F62FF
RGBrgb(95, 98, 255)
HSLhsl(239, 100%, 69%)
HSVhsv(239, 63%, 100%)
CMYKcmyk(62.7%, 61.6%, 0%, 0%)
CIE-LABlab(49.96, 44.90, -78.52)
CIE-LCHlch(49.96, 90.45, 299.76°)
OKLaboklab(58.69% 0.0237 -0.2262)
OKLCHoklch(58.69% 0.227 276)
XYZxyz(27.1311, 18.3860, 96.7075)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62FF #FFFC5F
analogous
#5FB2FF #5F62FF #AC5FFF
triadic
#5F62FF #FF5F62 #62FF5F
tetradic
#5F62FF #FF5FB2 #FFFC5F #5FFFAC
square
#5F62FF #FF5FB2 #FFFC5F #5FFFAC
split-complementary
#5F62FF #FFAC5F #B2FF5F
monochromatic
#0004E4 #2226FF #5F62FF #9C9EFF #D9DAFF

Accessibility & contrast

On white

4.49
#5F62FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5F62FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F62FF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F62FF#FFFFFF#000000##000000
##5F62FF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0070FC
Tritanopia (blue-blind)
#008AA7
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f62ff;
/* rgb */ color: rgb(95, 98, 255);
/* oklch */ color: oklch(58.7% 0.227 276.0);
Tailwind
colors: {
  custom: {
    50: '#9c8fff',
    500: '#5f62ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f62ff;
$custom-light: #9c8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62ff",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 238.875,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.22747,
    "h": 276
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#5F62FF
secondary
#F5F4C5
accent
#E100E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #5F62FF

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

Preview Lab → · Contrast checker → · Palette generator →

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