#5F73DC#5F73DC

#5F73DC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.160 H 272.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5F73DC
RGBrgb(95, 115, 220)
HSLhsl(230, 64%, 62%)
HSVhsv(230, 57%, 86%)
CMYKcmyk(56.8%, 47.7%, 0%, 13.7%)
CIE-LABlab(51.68, 23.27, -56.15)
CIE-LCHlch(51.68, 60.79, 292.51°)
OKLaboklab(59.22% 0.007 -0.1603)
OKLCHoklch(59.22% 0.16 272.5)
XYZxyz(23.7641, 19.8599, 70.2773)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73DC #DCC85F
analogous
#5FB2DC #5F73DC #8A5FDC
triadic
#5F73DC #DC5F73 #73DC5F
tetradic
#5F73DC #DC5FB2 #DCC85F #5FDC8A
square
#5F73DC #DC5FB2 #DCC85F #5FDC8A
split-complementary
#5F73DC #DC8A5F #B2DC5F
monochromatic
#23369E #2E48D0 #5F73DC #919FE7 #C3CBF2

Accessibility & contrast

On white

4.22
#5F73DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5F73DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73DC#FFFFFF#000000##000000
##5F73DC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#088B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f73dc;
/* rgb */ color: rgb(95, 115, 220);
/* oklch */ color: oklch(59.2% 0.160 272.5);
Tailwind
colors: {
  custom: {
    50: '#969be7',
    500: '#5f73dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f73dc;
$custom-light: #969be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73dc",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 230.4,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.16045,
    "h": 272.5
  },
  "luminance": 0.19862
}

Semantic roles & 50–950 ramp

primary
#5F73DC
secondary
#E3DBB4
accent
#AF1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F73DC

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

Preview Lab → · Contrast checker → · Palette generator →

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