#5B73DB#5B73DB

#5B73DB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.160 H 271.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5B73DB
RGBrgb(91, 115, 219)
HSLhsl(229, 64%, 61%)
HSVhsv(229, 58%, 86%)
CMYKcmyk(58.4%, 47.5%, 0%, 14.1%)
CIE-LABlab(51.38, 22.17, -56.08)
CIE-LCHlch(51.38, 60.30, 291.57°)
OKLaboklab(58.91% 0.0028 -0.1602)
OKLCHoklch(58.91% 0.16 271)
XYZxyz(23.2271, 19.5983, 69.5629)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B73DB #DBC35B
analogous
#5BB3DB #5B73DB #835BDB
triadic
#5B73DB #DB5B73 #73DB5B
tetradic
#5B73DB #DB5BB3 #DBC35B #5BDB83
square
#5B73DB #DB5BB3 #DBC35B #5BDB83
split-complementary
#5B73DB #DB835B #B3DB5B
monochromatic
#22389A #2D4BCC #5B73DB #8D9EE6 #BFC9F1

Accessibility & contrast

On white

4.27
#5B73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5B73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B73DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B73DB#FFFFFF#000000##000000
##5B73DB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DF
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b73db;
/* rgb */ color: rgb(91, 115, 219);
/* oklch */ color: oklch(58.9% 0.160 271.0);
Tailwind
colors: {
  custom: {
    50: '#949ae7',
    500: '#5b73db',
    950: '#000000',
  },
}
SCSS
$custom: #5b73db;
$custom-light: #949ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b73db",
  "rgb": {
    "r": 91,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 228.75,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.1602,
    "h": 271
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#5B73DB
secondary
#E1D8B1
accent
#AA1ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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