#5F62DA#5F62DA

#5F62DA is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.9% C 0.180 H 277.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F62DA
RGBrgb(95, 98, 218)
HSLhsl(239, 62%, 61%)
HSVhsv(239, 56%, 85%)
CMYKcmyk(56.4%, 55%, 0%, 14.5%)
CIE-LABlab(47.27, 33.04, -62.12)
CIE-LCHlch(47.27, 70.36, 298.01°)
OKLaboklab(55.86% 0.0243 -0.178)
OKLCHoklch(55.86% 0.18 277.8)
XYZxyz(21.7379, 16.2287, 68.3030)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F62DA #DAD75F
analogous
#5FA0DA #5F62DA #9A5FDA
triadic
#5F62DA #DA5F62 #62DA5F
tetradic
#5F62DA #DA5FA0 #DAD75F #5FDA9A
square
#5F62DA #DA5FA0 #DAD75F #5FDA9A
split-complementary
#5F62DA #DA9A5F #A0DA5F
monochromatic
#24279B #2F33CD #5F62DA #9193E5 #C2C4F1

Accessibility & contrast

On white

4.95
#5F62DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5F62DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F62DA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F62DA#FFFFFF#000000##FFFFFF
##5F62DA1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0875DE
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#187E94
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f62da;
/* rgb */ color: rgb(95, 98, 218);
/* oklch */ color: oklch(55.9% 0.180 277.8);
Tailwind
colors: {
  custom: {
    50: '#968ee6',
    500: '#5f62da',
    950: '#000000',
  },
}
SCSS
$custom: #5f62da;
$custom-light: #968ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f62da",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 238.537,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.17966,
    "h": 277.8
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#5F62DA
secondary
#E1E0B3
accent
#C61BCA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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