#5F73CB#5F73CB

#5F73CB is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.137 H 271.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5F73CB
RGBrgb(95, 115, 203)
HSLhsl(229, 51%, 58%)
HSVhsv(229, 53%, 80%)
CMYKcmyk(53.2%, 43.3%, 0%, 20.4%)
CIE-LABlab(50.69, 17.78, -48.08)
CIE-LCHlch(50.69, 51.26, 290.29°)
OKLaboklab(58.15% 0.0045 -0.1366)
OKLCHoklch(58.15% 0.137 271.9)
XYZxyz(21.6260, 19.0047, 59.0170)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73CB #CBB75F
analogous
#5FA9CB #5F73CB #815FCB
triadic
#5F73CB #CB5F73 #73CB5F
tetradic
#5F73CB #CB5FA9 #CBB75F #5FCB81
square
#5F73CB #CB5FA9 #CBB75F #5FCB81
split-complementary
#5F73CB #CB815F #A9CB5F
monochromatic
#2B3C85 #3A50B3 #5F73CB #8D9BDA #BBC4E9

Accessibility & contrast

On white

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

On black

4.80
#5F73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73CB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73CB#FFFFFF#000000##000000
##5F73CB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#2B8695
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f73cb;
/* rgb */ color: rgb(95, 115, 203);
/* oklch */ color: oklch(58.1% 0.137 271.9);
Tailwind
colors: {
  custom: {
    50: '#949bdb',
    500: '#5f73cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f73cb;
$custom-light: #949bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73cb",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 228.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.13668,
    "h": 271.9
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#5F73CB
secondary
#D8D0AD
accent
#C04DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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