#5D70F0#5D70F0

#5D70F0 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.192 H 272.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D70F0
RGBrgb(93, 112, 240)
HSLhsl(232, 83%, 65%)
HSVhsv(232, 61%, 94%)
CMYKcmyk(61.2%, 53.3%, 0%, 5.9%)
CIE-LABlab(52.07, 31.31, -66.76)
CIE-LCHlch(52.07, 73.74, 295.13°)
OKLaboklab(59.89% 0.0096 -0.1916)
OKLCHoklch(59.89% 0.192 272.9)
XYZxyz(26.0313, 20.2046, 84.9493)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D70F0 #F0DD5D
analogous
#5DB9F0 #5D70F0 #935DF0
triadic
#5D70F0 #F05D70 #70F05D
tetradic
#5D70F0 #F05DB9 #F0DD5D #5DF093
square
#5D70F0 #F05DB9 #F0DD5D #5DF093
split-complementary
#5D70F0 #F0935D #B9F05D
monochromatic
#1228C1 #253FEB #5D70F0 #95A1F5 #CDD3FA

Accessibility & contrast

On white

4.17
#5D70F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5D70F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D70F0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D70F0#FFFFFF#000000##000000
##5D70F01.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1783F4
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d70f0;
/* rgb */ color: rgb(93, 112, 240);
/* oklch */ color: oklch(59.9% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#9898f6',
    500: '#5d70f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d70f0;
$custom-light: #9898f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d70f0",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 232.245,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.19182,
    "h": 272.9
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#5D70F0
secondary
#EDE7BC
accent
#C306DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D70F0

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

Preview Lab → · Contrast checker → · Palette generator →

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