#5F73FA#5F73FA

#5F73FA is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.3% C 0.201 H 272.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5F73FA
RGBrgb(95, 115, 250)
HSLhsl(232, 94%, 68%)
HSVhsv(232, 62%, 98%)
CMYKcmyk(62%, 54%, 0%, 2%)
CIE-LABlab(53.59, 33.11, -69.85)
CIE-LCHlch(53.59, 77.30, 295.37°)
OKLaboklab(61.27% 0.0094 -0.2006)
OKLCHoklch(61.27% 0.201 272.7)
XYZxyz(28.0996, 21.5941, 93.1112)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73FA #FAE65F
analogous
#5FC0FA #5F73FA #985FFA
triadic
#5F73FA #FA5F73 #73FA5F
tetradic
#5F73FA #FA5FC0 #FAE65F #5FFA98
square
#5F73FA #FA5FC0 #FAE65F #5FFA98
split-complementary
#5F73FA #FA985F #C0FA5F
monochromatic
#0722D8 #243FF8 #5F73FA #9AA7FC #D6DBFE

Accessibility & contrast

On white

3.95
#5F73FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5F73FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73FA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73FA#FFFFFF#000000##000000
##5F73FA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0787FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#0093AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f73fa;
/* rgb */ color: rgb(95, 115, 250);
/* oklch */ color: oklch(61.3% 0.201 272.7);
Tailwind
colors: {
  custom: {
    50: '#9b9bfd',
    500: '#5f73fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f73fa;
$custom-light: #9b9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73fa",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 232.258,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61274,
    "c": 0.2008,
    "h": 272.7
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#5F73FA
secondary
#F2ECC2
accent
#C800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F73FA

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

Preview Lab → · Contrast checker → · Palette generator →

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