#5F70EF#5F70EF

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

Color values

HEX#5F70EF
RGBrgb(95, 112, 239)
HSLhsl(233, 82%, 65%)
HSVhsv(233, 60%, 94%)
CMYKcmyk(60.3%, 53.1%, 0%, 6.3%)
CIE-LABlab(52.12, 31.32, -66.11)
CIE-LCHlch(52.12, 73.16, 295.35°)
OKLaboklab(59.94% 0.0116 -0.1896)
OKLCHoklch(59.94% 0.19 273.5)
XYZxyz(26.0883, 20.2511, 84.1787)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70EF #EFDE5F
analogous
#5FB8EF #5F70EF #965FEF
triadic
#5F70EF #EF5F70 #70EF5F
tetradic
#5F70EF #EF5FB8 #EFDE5F #5FEF96
square
#5F70EF #EF5FB8 #EFDE5F #5FEF96
split-complementary
#5F70EF #EF965F #B8EF5F
monochromatic
#1328C0 #273EE9 #5F70EF #97A2F5 #CED3FA

Accessibility & contrast

On white

4.16
#5F70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5F70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70EF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70EF#FFFFFF#000000##000000
##5F70EF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B83F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f70ef;
/* rgb */ color: rgb(95, 112, 239);
/* oklch */ color: oklch(59.9% 0.190 273.5);
Tailwind
colors: {
  custom: {
    50: '#9998f5',
    500: '#5f70ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f70ef;
$custom-light: #9998f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70ef",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 232.917,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.18997,
    "h": 273.5
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#5F70EF
secondary
#EDE7BD
accent
#C507DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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