#5F73E4#5F73E4

#5F73E4 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.171 H 272.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F73E4
RGBrgb(95, 115, 228)
HSLhsl(231, 71%, 63%)
HSVhsv(231, 58%, 89%)
CMYKcmyk(58.3%, 49.6%, 0%, 10.6%)
CIE-LABlab(52.17, 25.89, -59.87)
CIE-LCHlch(52.17, 65.23, 293.38°)
OKLaboklab(59.75% 0.0079 -0.1712)
OKLCHoklch(59.75% 0.171 272.6)
XYZxyz(24.8490, 20.2939, 75.9914)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73E4 #E4D05F
analogous
#5FB6E4 #5F73E4 #8D5FE4
triadic
#5F73E4 #E45F73 #73E45F
tetradic
#5F73E4 #E45FB6 #E4D05F #5FE48D
square
#5F73E4 #E45FB6 #E4D05F #5FE48D
split-complementary
#5F73E4 #E48D5F #B6E45F
monochromatic
#1D32AC #2B45DB #5F73E4 #93A1ED #C8CFF6

Accessibility & contrast

On white

4.15
#5F73E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5F73E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73E4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73E4#FFFFFF#000000##000000
##5F73E41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E8
Deuteranopia (green-blind)
#1E77E2
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f73e4;
/* rgb */ color: rgb(95, 115, 228);
/* oklch */ color: oklch(59.7% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#979bed',
    500: '#5f73e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f73e4;
$custom-light: #979bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73e4",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 228
  },
  "hsl": {
    "h": 230.977,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.17142,
    "h": 272.6
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#5F73E4
secondary
#E7E0B8
accent
#B612D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5F73E4

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

Preview Lab → · Contrast checker → · Palette generator →

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