#5F73F5#5F73F5

#5F73F5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.194 H 272.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5F73F5
RGBrgb(95, 115, 245)
HSLhsl(232, 88%, 67%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(61.2%, 53.1%, 0%, 3.9%)
CIE-LABlab(53.26, 31.47, -67.61)
CIE-LCHlch(53.26, 74.58, 294.96°)
OKLaboklab(60.92% 0.0091 -0.194)
OKLCHoklch(60.92% 0.194 272.7)
XYZxyz(27.3260, 21.2847, 89.0368)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73F5 #F5E15F
analogous
#5FBEF5 #5F73F5 #965FF5
triadic
#5F73F5 #F55F73 #73F55F
tetradic
#5F73F5 #F55FBE #F5E15F #5FF596
square
#5F73F5 #F55FBE #F5E15F #5FF596
split-complementary
#5F73F5 #F5965F #BEF55F
monochromatic
#0D26CD #2541F1 #5F73F5 #99A5F9 #D2D8FC

Accessibility & contrast

On white

3.99
#5F73F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5F73F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73F5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73F5#FFFFFF#000000##000000
##5F73F51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f73f5;
/* rgb */ color: rgb(95, 115, 245);
/* oklch */ color: oklch(60.9% 0.194 272.7);
Tailwind
colors: {
  custom: {
    50: '#9a9bf9',
    500: '#5f73f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f73f5;
$custom-light: #9a9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73f5",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 232,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.19423,
    "h": 272.7
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#5F73F5
secondary
#F0EAC0
accent
#C601E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73F5

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

Preview Lab → · Contrast checker → · Palette generator →

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