#5F72CA#5F72CA

#5F72CA is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.137 H 272.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F72CA
RGBrgb(95, 114, 202)
HSLhsl(229, 50%, 58%)
HSVhsv(229, 53%, 79%)
CMYKcmyk(53%, 43.6%, 0%, 20.8%)
CIE-LABlab(50.37, 18.07, -48.02)
CIE-LCHlch(50.37, 51.31, 290.62°)
OKLaboklab(57.88% 0.0055 -0.1364)
OKLCHoklch(57.88% 0.137 272.3)
XYZxyz(21.3939, 18.7303, 58.3536)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F72CA #CAB75F
analogous
#5FA7CA #5F72CA #815FCA
triadic
#5F72CA #CA5F72 #72CA5F
tetradic
#5F72CA #CA5FA7 #CAB75F #5FCA81
square
#5F72CA #CA5FA7 #CAB75F #5FCA81
split-complementary
#5F72CA #CA815F #A7CA5F
monochromatic
#2B3B83 #3B50B1 #5F72CA #8D9BD9 #BBC3E8

Accessibility & contrast

On white

4.42
#5F72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5F72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F72CA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F72CA#FFFFFF#000000##000000
##5F72CA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#2C8594
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f72ca;
/* rgb */ color: rgb(95, 114, 202);
/* oklch */ color: oklch(57.9% 0.137 272.3);
Tailwind
colors: {
  custom: {
    50: '#939ada',
    500: '#5f72ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f72ca;
$custom-light: #939ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5f72ca",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 229.346,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57883,
    "c": 0.13655,
    "h": 272.3
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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