#5F73EA#5F73EA

#5F73EA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.180 H 272.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F73EA
RGBrgb(95, 115, 234)
HSLhsl(231, 77%, 65%)
HSVhsv(231, 59%, 92%)
CMYKcmyk(59.4%, 50.9%, 0%, 8.2%)
CIE-LABlab(52.55, 27.85, -62.63)
CIE-LCHlch(52.55, 68.54, 293.98°)
OKLaboklab(60.15% 0.0084 -0.1793)
OKLCHoklch(60.15% 0.18 272.7)
XYZxyz(25.6964, 20.6328, 80.4544)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73EA #EAD65F
analogous
#5FB9EA #5F73EA #915FEA
triadic
#5F73EA #EA5F73 #73EA5F
tetradic
#5F73EA #EA5FB9 #EAD65F #5FEA91
square
#5F73EA #EA5FB9 #EAD65F #5FEA91
split-complementary
#5F73EA #EA915F #B9EA5F
monochromatic
#182FB7 #2944E3 #5F73EA #95A2F1 #CBD2F8

Accessibility & contrast

On white

4.10
#5F73EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5F73EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73EA#FFFFFF#000000##000000
##5F73EA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#0778E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f73ea;
/* rgb */ color: rgb(95, 115, 234);
/* oklch */ color: oklch(60.2% 0.180 272.7);
Tailwind
colors: {
  custom: {
    50: '#989bf1',
    500: '#5f73ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f73ea;
$custom-light: #989bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73ea",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 231.367,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.17955,
    "h": 272.7
  },
  "luminance": 0.20635
}

Semantic roles & 50–950 ramp

primary
#5F73EA
secondary
#EAE3BA
accent
#BC0CD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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