#5F71FA#5F71FA

#5F71FA is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 60.9% C 0.203 H 273.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F71FA
RGBrgb(95, 113, 250)
HSLhsl(233, 94%, 68%)
HSVhsv(233, 62%, 98%)
CMYKcmyk(62%, 54.8%, 0%, 2%)
CIE-LABlab(53.11, 34.32, -70.64)
CIE-LCHlch(53.11, 78.53, 295.92°)
OKLaboklab(60.91% 0.0112 -0.2029)
OKLCHoklch(60.91% 0.203 273.2)
XYZxyz(27.8740, 21.1429, 93.0360)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71FA #FAE85F
analogous
#5FBFFA #5F71FA #9A5FFA
triadic
#5F71FA #FA5F71 #71FA5F
tetradic
#5F71FA #FA5FBF #FAE85F #5FFA9A
square
#5F71FA #FA5FBF #FAE85F #5FFA9A
split-complementary
#5F71FA #FA9A5F #BFFA5F
monochromatic
#071FD8 #243CF8 #5F71FA #9AA6FC #D6DAFE

Accessibility & contrast

On white

4.02
#5F71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5F71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F71FA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71FA#FFFFFF#000000##000000
##5F71FA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0078F7
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f71fa;
/* rgb */ color: rgb(95, 113, 250);
/* oklch */ color: oklch(60.9% 0.203 273.2);
Tailwind
colors: {
  custom: {
    50: '#9b99fd',
    500: '#5f71fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f71fa;
$custom-light: #9b99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71fa",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 233.032,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.20324,
    "h": 273.2
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#5F71FA
secondary
#F2EDC2
accent
#CB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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