#5F70F0#5F70F0

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

Color values

HEX#5F70F0
RGBrgb(95, 112, 240)
HSLhsl(233, 83%, 66%)
HSVhsv(233, 60%, 94%)
CMYKcmyk(60.4%, 53.3%, 0%, 5.9%)
CIE-LABlab(52.19, 31.65, -66.56)
CIE-LCHlch(52.19, 73.70, 295.43°)
OKLaboklab(60.01% 0.0117 -0.1909)
OKLCHoklch(60.01% 0.191 273.5)
XYZxyz(26.2365, 20.3104, 84.9589)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70F0 #F0DF5F
analogous
#5FB8F0 #5F70F0 #975FF0
triadic
#5F70F0 #F05F70 #70F05F
tetradic
#5F70F0 #F05FB8 #F0DF5F #5FF097
square
#5F70F0 #F05FB8 #F0DF5F #5FF097
split-complementary
#5F70F0 #F0975F #B8F05F
monochromatic
#1227C2 #273EEB #5F70F0 #97A2F5 #CFD4FA

Accessibility & contrast

On white

4.15
#5F70F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5F70F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70F0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70F0#FFFFFF#000000##000000
##5F70F01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f70f0;
/* rgb */ color: rgb(95, 112, 240);
/* oklch */ color: oklch(60.0% 0.191 273.5);
Tailwind
colors: {
  custom: {
    50: '#9998f6',
    500: '#5f70f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f70f0;
$custom-light: #9998f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70f0",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 232.966,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60006,
    "c": 0.19131,
    "h": 273.5
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#5F70F0
secondary
#EEE8BD
accent
#C606DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F70F0

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

Preview Lab → · Contrast checker → · Palette generator →

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