#5F73CC#5F73CC

#5F73CC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.138 H 272.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5F73CC
RGBrgb(95, 115, 204)
HSLhsl(229, 52%, 59%)
HSVhsv(229, 53%, 80%)
CMYKcmyk(53.4%, 43.6%, 0%, 20%)
CIE-LABlab(50.75, 18.10, -48.56)
CIE-LCHlch(50.75, 51.82, 290.44°)
OKLaboklab(58.21% 0.0047 -0.138)
OKLCHoklch(58.21% 0.138 272)
XYZxyz(21.7456, 19.0525, 59.6466)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73CC #CCB85F
analogous
#5FA9CC #5F73CC #815FCC
triadic
#5F73CC #CC5F73 #73CC5F
tetradic
#5F73CC #CC5FA9 #CCB85F #5FCC81
square
#5F73CC #CC5FA9 #CCB85F #5FCC81
split-complementary
#5F73CC #CC815F #A9CC5F
monochromatic
#2B3B86 #3950B4 #5F73CC #8D9CDB #BCC4EA

Accessibility & contrast

On white

4.37
#5F73CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5F73CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73CC#FFFFFF#000000##000000
##5F73CC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#298695
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f73cc;
/* rgb */ color: rgb(95, 115, 204);
/* oklch */ color: oklch(58.2% 0.138 272.0);
Tailwind
colors: {
  custom: {
    50: '#949bdc',
    500: '#5f73cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f73cc;
$custom-light: #949bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73cc",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 228.991,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.13809,
    "h": 272
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#5F73CC
secondary
#D9D1AE
accent
#C14DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F73CC

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

Preview Lab → · Contrast checker → · Palette generator →

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