#5F71BE#5F71BE

#5F71BE is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.121 H 272.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F71BE
RGBrgb(95, 113, 190)
HSLhsl(229, 42%, 56%)
HSVhsv(229, 50%, 75%)
CMYKcmyk(50%, 40.5%, 0%, 25.5%)
CIE-LABlab(49.45, 14.88, -42.61)
CIE-LCHlch(49.45, 45.13, 289.25°)
OKLaboklab(56.96% 0.0045 -0.1206)
OKLCHoklch(56.96% 0.121 272.1)
XYZxyz(19.9157, 17.9596, 51.1223)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71BE #BEAC5F
analogous
#5FA0BE #5F71BE #7C5FBE
triadic
#5F71BE #BE5F71 #71BE5F
tetradic
#5F71BE #BE5FA0 #BEAC5F #5FBE7C
square
#5F71BE #BE5FA0 #BEAC5F #5FBE7C
split-complementary
#5F71BE #BE7C5F #A0BE5F
monochromatic
#2F3C74 #41539F #5F71BE #8B98D0 #B6BEE1

Accessibility & contrast

On white

4.57
#5F71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F71BE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71BE#FFFFFF#000000##000000
##5F71BE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#38818E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f71be;
/* rgb */ color: rgb(95, 113, 190);
/* oklch */ color: oklch(57.0% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#9299d2',
    500: '#5f71be',
    950: '#000000',
  },
}
SCSS
$custom: #5f71be;
$custom-light: #9299d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71be",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 228.632,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.12066,
    "h": 272.1
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#5F71BE
secondary
#D0C9A9
accent
#BA56D2
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5F71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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