#5F73F0#5F73F0

#5F73F0 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.6% C 0.188 H 272.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F73F0
RGBrgb(95, 115, 240)
HSLhsl(232, 83%, 66%)
HSVhsv(232, 60%, 94%)
CMYKcmyk(60.4%, 52.1%, 0%, 5.9%)
CIE-LABlab(52.93, 29.82, -65.36)
CIE-LCHlch(52.93, 71.84, 294.53°)
OKLaboklab(60.57% 0.0088 -0.1874)
OKLCHoklch(60.57% 0.188 272.7)
XYZxyz(26.5730, 20.9835, 85.0711)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73F0 #F0DC5F
analogous
#5FBBF0 #5F73F0 #935FF0
triadic
#5F73F0 #F05F73 #73F05F
tetradic
#5F73F0 #F05FBB #F0DC5F #5FF093
square
#5F73F0 #F05FBB #F0DC5F #5FF093
split-complementary
#5F73F0 #F0935F #BBF05F
monochromatic
#122BC2 #2742EB #5F73F0 #97A4F5 #CFD5FA

Accessibility & contrast

On white

4.04
#5F73F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5F73F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73F0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73F0#FFFFFF#000000##000000
##5F73F01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f73f0;
/* rgb */ color: rgb(95, 115, 240);
/* oklch */ color: oklch(60.6% 0.188 272.7);
Tailwind
colors: {
  custom: {
    50: '#999bf6',
    500: '#5f73f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f73f0;
$custom-light: #999bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73f0",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 240
  },
  "hsl": {
    "h": 231.724,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60566,
    "c": 0.18759,
    "h": 272.7
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#5F73F0
secondary
#EEE7BD
accent
#C106DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73F0

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

Preview Lab → · Contrast checker → · Palette generator →

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