#5F73F3#5F73F3

#5F73F3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.192 H 272.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F73F3
RGBrgb(95, 115, 243)
HSLhsl(232, 86%, 66%)
HSVhsv(232, 61%, 95%)
CMYKcmyk(60.9%, 52.7%, 0%, 4.7%)
CIE-LABlab(53.13, 30.81, -66.71)
CIE-LCHlch(53.13, 73.48, 294.79°)
OKLaboklab(60.78% 0.009 -0.1914)
OKLCHoklch(60.78% 0.192 272.7)
XYZxyz(27.0223, 21.1632, 87.4375)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73F3 #F3DF5F
analogous
#5FBDF3 #5F73F3 #955FF3
triadic
#5F73F3 #F35F73 #73F35F
tetradic
#5F73F3 #F35FBD #F3DF5F #5FF395
square
#5F73F3 #F35FBD #F3DF5F #5FF395
split-complementary
#5F73F3 #F3955F #BDF35F
monochromatic
#0F28C9 #2641EF #5F73F3 #98A5F7 #D1D7FC

Accessibility & contrast

On white

4.01
#5F73F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5F73F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73F3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73F3#FFFFFF#000000##000000
##5F73F31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2086F7
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f73f3;
/* rgb */ color: rgb(95, 115, 243);
/* oklch */ color: oklch(60.8% 0.192 272.7);
Tailwind
colors: {
  custom: {
    50: '#999bf8',
    500: '#5f73f3',
    950: '#000000',
  },
}
SCSS
$custom: #5f73f3;
$custom-light: #999bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73f3",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 231.892,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.19157,
    "h": 272.7
  },
  "luminance": 0.21165
}

Semantic roles & 50–950 ramp

primary
#5F73F3
secondary
#EFE9BF
accent
#C403E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F73F3

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

Preview Lab → · Contrast checker → · Palette generator →

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