#5F70DD#5F70DD

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

Color values

HEX#5F70DD
RGBrgb(95, 112, 221)
HSLhsl(232, 65%, 62%)
HSVhsv(232, 57%, 87%)
CMYKcmyk(57%, 49.3%, 0%, 13.3%)
CIE-LABlab(50.97, 25.44, -57.86)
CIE-LCHlch(50.97, 63.21, 293.73°)
OKLaboklab(58.7% 0.0102 -0.1653)
OKLCHoklch(58.7% 0.166 273.5)
XYZxyz(23.5604, 19.2399, 70.8647)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70DD #DDCC5F
analogous
#5FAFDD #5F70DD #8D5FDD
triadic
#5F70DD #DD5F70 #70DD5F
tetradic
#5F70DD #DD5FAF #DDCC5F #5FDD8D
square
#5F70DD #DD5FAF #DDCC5F #5FDD8D
split-complementary
#5F70DD #DD8D5F #AFDD5F
monochromatic
#2233A0 #2D43D2 #5F70DD #919DE8 #C4CAF2

Accessibility & contrast

On white

4.33
#5F70DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5F70DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70DD#FFFFFF#000000##000000
##5F70DD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE1
Deuteranopia (green-blind)
#2374DB
Tritanopia (blue-blind)
#07899C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f70dd;
/* rgb */ color: rgb(95, 112, 221);
/* oklch */ color: oklch(58.7% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#9698e8',
    500: '#5f70dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f70dd;
$custom-light: #9698e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70dd",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 231.905,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58698,
    "c": 0.16567,
    "h": 273.5
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#5F70DD
secondary
#E3DDB5
accent
#B419CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F70DD

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

Preview Lab → · Contrast checker → · Palette generator →

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