#5F70DA#5F70DA

#5F70DA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.162 H 273.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5F70DA
RGBrgb(95, 112, 218)
HSLhsl(232, 62%, 61%)
HSVhsv(232, 56%, 85%)
CMYKcmyk(56.4%, 48.6%, 0%, 14.5%)
CIE-LABlab(50.78, 24.46, -56.46)
CIE-LCHlch(50.78, 61.53, 293.43°)
OKLaboklab(58.5% 0.0099 -0.1612)
OKLCHoklch(58.5% 0.162 273.5)
XYZxyz(23.1643, 19.0815, 68.7785)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70DA #DAC95F
analogous
#5FAEDA #5F70DA #8C5FDA
triadic
#5F70DA #DA5F70 #70DA5F
tetradic
#5F70DA #DA5FAE #DAC95F #5FDA8C
square
#5F70DA #DA5FAE #DAC95F #5FDA8C
split-complementary
#5F70DA #DA8C5F #AEDA5F
monochromatic
#24349B #2F45CD #5F70DA #919CE5 #C2C9F1

Accessibility & contrast

On white

4.36
#5F70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5F70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70DA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70DA#FFFFFF#000000##000000
##5F70DA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDE
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#12889B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f70da;
/* rgb */ color: rgb(95, 112, 218);
/* oklch */ color: oklch(58.5% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#9698e6',
    500: '#5f70da',
    950: '#000000',
  },
}
SCSS
$custom: #5f70da;
$custom-light: #9698e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70da",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 231.707,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.16154,
    "h": 273.5
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#5F70DA
secondary
#E1DBB3
accent
#B21BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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