#5F70F4#5F70F4

#5F70F4 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.3% C 0.197 H 273.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F70F4
RGBrgb(95, 112, 244)
HSLhsl(233, 87%, 66%)
HSVhsv(233, 61%, 96%)
CMYKcmyk(61.1%, 54.1%, 0%, 4.3%)
CIE-LABlab(52.45, 32.96, -68.36)
CIE-LCHlch(52.45, 75.89, 295.74°)
OKLaboklab(60.29% 0.0118 -0.1962)
OKLCHoklch(60.29% 0.197 273.5)
XYZxyz(26.8372, 20.5507, 88.1228)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F70F4 #F4E35F
analogous
#5FBBF4 #5F70F4 #995FF4
triadic
#5F70F4 #F45F70 #70F45F
tetradic
#5F70F4 #F45FBB #F4E35F #5FF499
square
#5F70F4 #F45FBB #F4E35F #5FF499
split-complementary
#5F70F4 #F4995F #BBF45F
monochromatic
#0E23CB #263DF0 #5F70F4 #98A3F8 #D2D6FC

Accessibility & contrast

On white

4.11
#5F70F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5F70F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F70F4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F70F4#FFFFFF#000000##000000
##5F70F41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0984F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f70f4;
/* rgb */ color: rgb(95, 112, 244);
/* oklch */ color: oklch(60.3% 0.197 273.5);
Tailwind
colors: {
  custom: {
    50: '#9a98f9',
    500: '#5f70f4',
    950: '#000000',
  },
}
SCSS
$custom: #5f70f4;
$custom-light: #9a98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f70f4",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 233.154,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.19659,
    "h": 273.5
  },
  "luminance": 0.20553
}

Semantic roles & 50–950 ramp

primary
#5F70F4
secondary
#F0EABF
accent
#CA02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F70F4

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

Preview Lab → · Contrast checker → · Palette generator →

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