#5F71CF#5F71CF

#5F71CF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.145 H 272.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F71CF
RGBrgb(95, 113, 207)
HSLhsl(230, 54%, 59%)
HSVhsv(230, 54%, 81%)
CMYKcmyk(54.1%, 45.4%, 0%, 18.8%)
CIE-LABlab(50.39, 20.29, -50.85)
CIE-LCHlch(50.39, 54.74, 291.75°)
OKLaboklab(57.99% 0.0074 -0.1447)
OKLCHoklch(57.99% 0.145 272.9)
XYZxyz(21.8833, 18.7466, 61.4847)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71CF #CFBD5F
analogous
#5FA9CF #5F71CF #855FCF
triadic
#5F71CF #CF5F71 #71CF5F
tetradic
#5F71CF #CF5FA9 #CFBD5F #5FCF85
square
#5F71CF #CF5FA9 #CFBD5F #5FCF85
split-complementary
#5F71CF #CF855F #A9CF5F
monochromatic
#29398A #384CB9 #5F71CF #8E9BDD #BDC5EB

Accessibility & contrast

On white

4.42
#5F71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5F71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F71CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71CF#FFFFFF#000000##000000
##5F71CF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#3A73CD
Tritanopia (blue-blind)
#268696
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f71cf;
/* rgb */ color: rgb(95, 113, 207);
/* oklch */ color: oklch(58.0% 0.145 272.9);
Tailwind
colors: {
  custom: {
    50: '#9499de',
    500: '#5f71cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f71cf;
$custom-light: #9499de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71cf",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 230.357,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.14491,
    "h": 272.9
  },
  "luminance": 0.18748
}

Semantic roles & 50–950 ramp

primary
#5F71CF
secondary
#DBD4AF
accent
#C64BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5F71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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