#5F70DC#5F70DC

#5F70DC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.164 H 273.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5F70DC
RGBrgb(95, 112, 220)
HSLhsl(232, 64%, 62%)
HSVhsv(232, 57%, 86%)
CMYKcmyk(56.8%, 49.1%, 0%, 13.7%)
CIE-LABlab(50.91, 25.11, -57.40)
CIE-LCHlch(50.91, 62.65, 293.63°)
OKLaboklab(58.63% 0.0101 -0.164)
OKLCHoklch(58.63% 0.164 273.5)
XYZxyz(23.4275, 19.1868, 70.1652)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70DC #DCCB5F
analogous
#5FAFDC #5F70DC #8D5FDC
triadic
#5F70DC #DC5F70 #70DC5F
tetradic
#5F70DC #DC5FAF #DCCB5F #5FDC8D
square
#5F70DC #DC5FAF #DCCB5F #5FDC8D
split-complementary
#5F70DC #DC8D5F #AFDC5F
monochromatic
#23339E #2E44D0 #5F70DC #919DE7 #C3CAF2

Accessibility & contrast

On white

4.34
#5F70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5F70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70DC#FFFFFF#000000##000000
##5F70DC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#0B889B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f70dc;
/* rgb */ color: rgb(95, 112, 220);
/* oklch */ color: oklch(58.6% 0.164 273.5);
Tailwind
colors: {
  custom: {
    50: '#9698e7',
    500: '#5f70dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f70dc;
$custom-light: #9698e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70dc",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 231.84,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.16429,
    "h": 273.5
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#5F70DC
secondary
#E3DCB4
accent
#B41ACC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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