#5B73CA#5B73CA

#5B73CA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.8% C 0.136 H 270.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5B73CA
RGBrgb(91, 115, 202)
HSLhsl(227, 51%, 57%)
HSVhsv(227, 55%, 79%)
CMYKcmyk(55%, 43.1%, 0%, 20.8%)
CIE-LABlab(50.39, 16.59, -48.00)
CIE-LCHlch(50.39, 50.79, 289.07°)
OKLaboklab(57.84% 0.0002 -0.1365)
OKLCHoklch(57.84% 0.136 270.1)
XYZxyz(21.1023, 18.7483, 58.3725)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73CA #CAB25B
analogous
#5BABCA #5B73CA #7B5BCA
triadic
#5B73CA #CA5B73 #73CA5B
tetradic
#5B73CA #CA5BAB #CAB25B #5BCA7B
square
#5B73CA #CA5BAB #CAB25B #5BCA7B
split-complementary
#5B73CA #CA7B5B #ABCA5B
monochromatic
#2A3D81 #3952AF #5B73CA #899AD9 #B8C2E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B73CA#FFFFFF#000000##000000
##5B73CA1.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)
#4E7DCD
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#1D8695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b73ca;
/* rgb */ color: rgb(91, 115, 202);
/* oklch */ color: oklch(57.8% 0.136 270.1);
Tailwind
colors: {
  custom: {
    50: '#919bda',
    500: '#5b73ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b73ca;
$custom-light: #919bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73ca",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 227.027,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.13646,
    "h": 270.1
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#5B73CA
secondary
#D7CDAA
accent
#BC4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B73CA

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

Preview Lab → · Contrast checker → · Palette generator →

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