#5F71BC#5F71BC

#5F71BC is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.8% C 0.118 H 272.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F71BC
RGBrgb(95, 113, 188)
HSLhsl(228, 41%, 55%)
HSVhsv(228, 49%, 74%)
CMYKcmyk(49.5%, 39.9%, 0%, 26.3%)
CIE-LABlab(49.34, 14.25, -41.62)
CIE-LCHlch(49.34, 43.99, 288.90°)
OKLaboklab(56.85% 0.0041 -0.1177)
OKLCHoklch(56.85% 0.118 272)
XYZxyz(19.6987, 17.8728, 49.9790)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71BC #BCAA5F
analogous
#5F9FBC #5F71BC #7B5FBC
triadic
#5F71BC #BC5F71 #71BC5F
tetradic
#5F71BC #BC5F9F #BCAA5F #5FBC7B
square
#5F71BC #BC5F9F #BCAA5F #5FBC7B
split-complementary
#5F71BC #BC7B5F #9FBC5F
monochromatic
#2F3C71 #41539C #5F71BC #8A97CE #B5BEE0

Accessibility & contrast

On white

4.59
#5F71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5F71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F71BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71BC#FFFFFF#000000##FFFFFF
##5F71BC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BF
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#39818D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f71bc;
/* rgb */ color: rgb(95, 113, 188);
/* oklch */ color: oklch(56.8% 0.118 272.0);
Tailwind
colors: {
  custom: {
    50: '#9299d0',
    500: '#5f71bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f71bc;
$custom-light: #9299d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71bc",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 228.387,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56847,
    "c": 0.11777,
    "h": 272
  },
  "luminance": 0.17874
}

Semantic roles & 50–950 ramp

primary
#5F71BC
secondary
#CFC7A8
accent
#B957D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5F71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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