#5B72CA#5B72CA

#5B72CA is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.138 H 270.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5B72CA
RGBrgb(91, 114, 202)
HSLhsl(228, 51%, 57%)
HSVhsv(228, 55%, 79%)
CMYKcmyk(55%, 43.6%, 0%, 20.8%)
CIE-LABlab(50.12, 17.21, -48.43)
CIE-LCHlch(50.12, 51.40, 289.56°)
OKLaboklab(57.63% 0.0014 -0.1377)
OKLCHoklch(57.63% 0.138 270.6)
XYZxyz(20.9889, 18.5215, 58.3347)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B72CA #CAB35B
analogous
#5BA9CA #5B72CA #7C5BCA
triadic
#5B72CA #CA5B72 #72CA5B
tetradic
#5B72CA #CA5BA9 #CAB35B #5BCA7C
square
#5B72CA #CA5BA9 #CAB35B #5BCA7C
split-complementary
#5B72CA #CA7C5B #A9CA5B
monochromatic
#2A3C81 #3951AF #5B72CA #899AD9 #B8C2E8

Accessibility & contrast

On white

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

On black

4.70
#5B72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B72CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B72CA#FFFFFF#000000##000000
##5B72CA1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#1E8594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b72ca;
/* rgb */ color: rgb(91, 114, 202);
/* oklch */ color: oklch(57.6% 0.138 270.6);
Tailwind
colors: {
  custom: {
    50: '#919ada',
    500: '#5b72ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b72ca;
$custom-light: #919ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5b72ca",
  "rgb": {
    "r": 91,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 227.568,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.13773,
    "h": 270.6
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#5B72CA
secondary
#D7CEAA
accent
#BD4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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