#5F73F6#5F73F6

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

Color values

HEX#5F73F6
RGBrgb(95, 115, 246)
HSLhsl(232, 89%, 67%)
HSVhsv(232, 61%, 96%)
CMYKcmyk(61.4%, 53.3%, 0%, 3.5%)
CIE-LABlab(53.33, 31.80, -68.06)
CIE-LCHlch(53.33, 75.12, 295.04°)
OKLaboklab(60.99% 0.0092 -0.1953)
OKLCHoklch(60.99% 0.196 272.7)
XYZxyz(27.4791, 21.3459, 89.8430)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73F6 #F6E25F
analogous
#5FBFF6 #5F73F6 #975FF6
triadic
#5F73F6 #F65F73 #73F65F
tetradic
#5F73F6 #F65FBF #F6E25F #5FF697
square
#5F73F6 #F65FBF #F6E25F #5FF697
split-complementary
#5F73F6 #F6975F #BFF65F
monochromatic
#0C26CF #2540F3 #5F73F6 #99A6F9 #D3D8FD

Accessibility & contrast

On white

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

On black

5.27
#5F73F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73F6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73F6#FFFFFF#000000##000000
##5F73F61.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f73f6;
/* rgb */ color: rgb(95, 115, 246);
/* oklch */ color: oklch(61.0% 0.196 272.7);
Tailwind
colors: {
  custom: {
    50: '#9a9bfa',
    500: '#5f73f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f73f6;
$custom-light: #9a9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73f6",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 246
  },
  "hsl": {
    "h": 232.053,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60988,
    "c": 0.19554,
    "h": 272.7
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#5F73F6
secondary
#F1EAC0
accent
#C700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73F6

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

Preview Lab → · Contrast checker → · Palette generator →

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