#5A72CC#5A72CC

#5A72CC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.7% C 0.141 H 270.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5A72CC
RGBrgb(90, 114, 204)
HSLhsl(227, 53%, 58%)
HSVhsv(227, 56%, 80%)
CMYKcmyk(55.9%, 44.1%, 0%, 20%)
CIE-LABlab(50.18, 17.65, -49.49)
CIE-LCHlch(50.18, 52.55, 289.63°)
OKLaboklab(57.69% 0.0007 -0.1409)
OKLCHoklch(57.69% 0.141 270.3)
XYZxyz(21.1292, 18.5664, 59.5853)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A72CC #CCB45A
analogous
#5AABCC #5A72CC #7B5ACC
triadic
#5A72CC #CC5A72 #72CC5A
tetradic
#5A72CC #CC5AAB #CCB45A #5ACC7B
square
#5A72CC #CC5AAB #CCB45A #5ACC7B
split-complementary
#5A72CC #CC7B5A #ABCC5A
monochromatic
#293C83 #3751B2 #5A72CC #899ADA #B7C2E9

Accessibility & contrast

On white

4.46
#5A72CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5A72CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A72CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A72CC#FFFFFF#000000##000000
##5A72CC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DCF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#158695
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a72cc;
/* rgb */ color: rgb(90, 114, 204);
/* oklch */ color: oklch(57.7% 0.141 270.3);
Tailwind
colors: {
  custom: {
    50: '#919adc',
    500: '#5a72cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a72cc;
$custom-light: #919adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a72cc",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 227.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.14086,
    "h": 270.3
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#5A72CC
secondary
#D8CEAA
accent
#BE4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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