#5F73EB#5F73EB

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

Color values

HEX#5F73EB
RGBrgb(95, 115, 235)
HSLhsl(231, 78%, 65%)
HSVhsv(231, 60%, 92%)
CMYKcmyk(59.6%, 51.1%, 0%, 7.8%)
CIE-LABlab(52.61, 28.18, -63.09)
CIE-LCHlch(52.61, 69.09, 294.07°)
OKLaboklab(60.22% 0.0085 -0.1807)
OKLCHoklch(60.22% 0.181 272.7)
XYZxyz(25.8405, 20.6905, 81.2131)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73EB #EBD75F
analogous
#5FB9EB #5F73EB #915FEB
triadic
#5F73EB #EB5F73 #73EB5F
tetradic
#5F73EB #EB5FB9 #EBD75F #5FEB91
square
#5F73EB #EB5FB9 #EBD75F #5FEB91
split-complementary
#5F73EB #EB915F #B9EB5F
monochromatic
#172EB9 #2943E4 #5F73EB #95A3F2 #CCD2F9

Accessibility & contrast

On white

4.09
#5F73EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5F73EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73EB#FFFFFF#000000##000000
##5F73EB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#0178E9
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f73eb;
/* rgb */ color: rgb(95, 115, 235);
/* oklch */ color: oklch(60.2% 0.181 272.7);
Tailwind
colors: {
  custom: {
    50: '#989bf2',
    500: '#5f73eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f73eb;
$custom-light: #989bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73eb",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 231.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.18089,
    "h": 272.7
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#5F73EB
secondary
#EBE4BB
accent
#BD0BDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73EB

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

Preview Lab → · Contrast checker → · Palette generator →

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