#5B73DA#5B73DA

#5B73DA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.159 H 270.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5B73DA
RGBrgb(91, 115, 218)
HSLhsl(229, 63%, 61%)
HSVhsv(229, 58%, 85%)
CMYKcmyk(58.3%, 47.2%, 0%, 14.5%)
CIE-LABlab(51.32, 21.84, -55.61)
CIE-LCHlch(51.32, 59.75, 291.44°)
OKLaboklab(58.84% 0.0026 -0.1588)
OKLCHoklch(58.84% 0.159 270.9)
XYZxyz(23.0958, 19.5458, 68.8717)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73DA #DAC25B
analogous
#5BB3DA #5B73DA #825BDA
triadic
#5B73DA #DA5B73 #73DA5B
tetradic
#5B73DA #DA5BB3 #DAC25B #5BDA82
square
#5B73DA #DA5BB3 #DAC25B #5BDA82
split-complementary
#5B73DA #DA825B #B3DA5B
monochromatic
#223998 #2E4BCA #5B73DA #8D9EE5 #BFC8F1

Accessibility & contrast

On white

4.28
#5B73DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5B73DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73DA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73DA#FFFFFF#000000##000000
##5B73DA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b73da;
/* rgb */ color: rgb(91, 115, 218);
/* oklch */ color: oklch(58.8% 0.159 270.9);
Tailwind
colors: {
  custom: {
    50: '#939ae6',
    500: '#5b73da',
    950: '#000000',
  },
}
SCSS
$custom: #5b73da;
$custom-light: #939ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73da",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 228.661,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.15882,
    "h": 270.9
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#5B73DA
secondary
#E1D7B0
accent
#AA1BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73DA

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

Preview Lab → · Contrast checker → · Palette generator →

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