#5F62F0#5F62F0

#5F62F0 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.5% C 0.208 H 276.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5F62F0
RGBrgb(95, 98, 240)
HSLhsl(239, 83%, 66%)
HSVhsv(239, 60%, 94%)
CMYKcmyk(60.4%, 59.2%, 0%, 5.9%)
CIE-LABlab(48.83, 40.10, -72.00)
CIE-LCHlch(48.83, 82.42, 299.11°)
OKLaboklab(57.51% 0.0243 -0.2071)
OKLCHoklch(57.51% 0.209 276.7)
XYZxyz(24.8101, 17.4576, 84.4834)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62F0 #F0ED5F
analogous
#5FAAF0 #5F62F0 #A55FF0
triadic
#5F62F0 #F05F62 #62F05F
tetradic
#5F62F0 #F05FAA #F0ED5F #5FF0A5
square
#5F62F0 #F05FAA #F0ED5F #5FF0A5
split-complementary
#5F62F0 #F0A55F #AAF05F
monochromatic
#1216C2 #272BEB #5F62F0 #9799F5 #CFD0FA

Accessibility & contrast

On white

4.67
#5F62F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5F62F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F62F0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F62F0#FFFFFF#000000##FFFFFF
##5F62F01.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#006EED
Tritanopia (blue-blind)
#0085A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f62f0;
/* rgb */ color: rgb(95, 98, 240);
/* oklch */ color: oklch(57.5% 0.208 276.7);
Tailwind
colors: {
  custom: {
    50: '#9a8ff6',
    500: '#5f62f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f62f0;
$custom-light: #9a8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62f0",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 238.759,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.2085,
    "h": 276.7
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

primary
#5F62F0
secondary
#EEEDBD
accent
#DB06DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F62F0

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

Preview Lab → · Contrast checker → · Palette generator →

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