#5F71BD#5F71BD

#5F71BD is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.9% C 0.119 H 272.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5F71BD
RGBrgb(95, 113, 189)
HSLhsl(229, 42%, 56%)
HSVhsv(229, 50%, 74%)
CMYKcmyk(49.7%, 40.2%, 0%, 25.9%)
CIE-LABlab(49.39, 14.56, -42.11)
CIE-LCHlch(49.39, 44.56, 289.08°)
OKLaboklab(56.9% 0.0043 -0.1191)
OKLCHoklch(56.9% 0.119 272.1)
XYZxyz(19.8068, 17.9160, 50.5487)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71BD #BDAB5F
analogous
#5FA0BD #5F71BD #7C5FBD
triadic
#5F71BD #BD5F71 #71BD5F
tetradic
#5F71BD #BD5FA0 #BDAB5F #5FBD7C
square
#5F71BD #BD5FA0 #BDAB5F #5FBD7C
split-complementary
#5F71BD #BD7C5F #A0BD5F
monochromatic
#2F3C72 #41539E #5F71BD #8A97CF #B6BEE1

Accessibility & contrast

On white

4.58
#5F71BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5F71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F71BD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71BD#FFFFFF#000000##000000
##5F71BD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC0
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#38818E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f71bd;
/* rgb */ color: rgb(95, 113, 189);
/* oklch */ color: oklch(56.9% 0.119 272.1);
Tailwind
colors: {
  custom: {
    50: '#9299d1',
    500: '#5f71bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f71bd;
$custom-light: #9299d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71bd",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 228.511,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.11922,
    "h": 272.1
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#5F71BD
secondary
#CFC8A8
accent
#BA56D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5F71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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