#5F73E7#5F73E7

#5F73E7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.175 H 272.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F73E7
RGBrgb(95, 115, 231)
HSLhsl(231, 74%, 64%)
HSVhsv(231, 59%, 91%)
CMYKcmyk(58.9%, 50.2%, 0%, 9.4%)
CIE-LABlab(52.36, 26.87, -61.26)
CIE-LCHlch(52.36, 66.89, 293.68°)
OKLaboklab(59.95% 0.0081 -0.1753)
OKLCHoklch(59.95% 0.175 272.7)
XYZxyz(25.2691, 20.4619, 78.2037)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73E7 #E7D35F
analogous
#5FB7E7 #5F73E7 #8F5FE7
triadic
#5F73E7 #E75F73 #73E75F
tetradic
#5F73E7 #E75FB7 #E7D35F #5FE78F
square
#5F73E7 #E75FB7 #E7D35F #5FE78F
split-complementary
#5F73E7 #E78F5F #B7E75F
monochromatic
#1B31B1 #2A44DF #5F73E7 #94A2EF #C9D0F7

Accessibility & contrast

On white

4.12
#5F73E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5F73E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73E7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73E7#FFFFFF#000000##000000
##5F73E71.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#1577E5
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f73e7;
/* rgb */ color: rgb(95, 115, 231);
/* oklch */ color: oklch(59.9% 0.175 272.7);
Tailwind
colors: {
  custom: {
    50: '#979bef',
    500: '#5f73e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f73e7;
$custom-light: #979bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73e7",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 231.176,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.17549,
    "h": 272.7
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#5F73E7
secondary
#E9E2B9
accent
#B90FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #5F73E7

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

Preview Lab → · Contrast checker → · Palette generator →

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