#5F70E0#5F70E0

#5F70E0 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.170 H 273.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5F70E0
RGBrgb(95, 112, 224)
HSLhsl(232, 68%, 63%)
HSVhsv(232, 58%, 88%)
CMYKcmyk(57.6%, 50%, 0%, 12.2%)
CIE-LABlab(51.15, 26.42, -59.25)
CIE-LCHlch(51.15, 64.88, 294.03°)
OKLaboklab(58.9% 0.0105 -0.1694)
OKLCHoklch(58.9% 0.17 273.5)
XYZxyz(23.9636, 19.4013, 72.9886)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70E0 #E0CF5F
analogous
#5FB0E0 #5F70E0 #8E5FE0
triadic
#5F70E0 #E05F70 #70E05F
tetradic
#5F70E0 #E05FB0 #E0CF5F #5FE08E
square
#5F70E0 #E05FB0 #E0CF5F #5FE08E
split-complementary
#5F70E0 #E08E5F #B0E05F
monochromatic
#2031A5 #2C42D6 #5F70E0 #929EEA #C6CCF4

Accessibility & contrast

On white

4.30
#5F70E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5F70E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70E0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70E0#FFFFFF#000000##000000
##5F70E01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3580E4
Deuteranopia (green-blind)
#1C75DE
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f70e0;
/* rgb */ color: rgb(95, 112, 224);
/* oklch */ color: oklch(58.9% 0.170 273.5);
Tailwind
colors: {
  custom: {
    50: '#9798ea',
    500: '#5f70e0',
    950: '#000000',
  },
}
SCSS
$custom: #5f70e0;
$custom-light: #9798ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70e0",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 224
  },
  "hsl": {
    "h": 232.093,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.16978,
    "h": 273.5
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#5F70E0
secondary
#E5DFB6
accent
#B716CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F70E0

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

Preview Lab → · Contrast checker → · Palette generator →

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