#5F70DF#5F70DF

#5F70DF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.168 H 273.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F70DF
RGBrgb(95, 112, 223)
HSLhsl(232, 67%, 62%)
HSVhsv(232, 57%, 87%)
CMYKcmyk(57.4%, 49.8%, 0%, 12.5%)
CIE-LABlab(51.09, 26.09, -58.79)
CIE-LCHlch(51.09, 64.32, 293.93°)
OKLaboklab(58.83% 0.0104 -0.1681)
OKLCHoklch(58.83% 0.168 273.5)
XYZxyz(23.8284, 19.3472, 72.2764)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70DF #DFCE5F
analogous
#5FB0DF #5F70DF #8E5FDF
triadic
#5F70DF #DF5F70 #70DF5F
tetradic
#5F70DF #DF5FB0 #DFCE5F #5FDF8E
square
#5F70DF #DF5FB0 #DFCE5F #5FDF8E
split-complementary
#5F70DF #DF8E5F #B0DF5F
monochromatic
#2132A3 #2C42D5 #5F70DF #929EE9 #C5CBF3

Accessibility & contrast

On white

4.31
#5F70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5F70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70DF#FFFFFF#000000##000000
##5F70DF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#1E74DD
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f70df;
/* rgb */ color: rgb(95, 112, 223);
/* oklch */ color: oklch(58.8% 0.168 273.5);
Tailwind
colors: {
  custom: {
    50: '#9698ea',
    500: '#5f70df',
    950: '#000000',
  },
}
SCSS
$custom: #5f70df;
$custom-light: #9698ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70df",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 232.031,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.16841,
    "h": 273.5
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#5F70DF
secondary
#E4DEB6
accent
#B617CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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