#5345CB#5345CB

#5345CB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.9% C 0.198 H 280.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5345CB
RGBrgb(83, 69, 203)
HSLhsl(246, 56%, 53%)
HSVhsv(246, 66%, 80%)
CMYKcmyk(59.1%, 66%, 0%, 20.4%)
CIE-LABlab(38.56, 43.58, -67.71)
CIE-LCHlch(38.56, 80.52, 302.77°)
OKLaboklab(48.88% 0.0373 -0.1949)
OKLCHoklch(48.88% 0.198 280.8)
XYZxyz(16.4715, 10.4059, 57.6289)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345CB #BDCB45
analogous
#457ACB #5345CB #9645CB
triadic
#5345CB #CB5345 #45CB53
tetradic
#5345CB #CB457A #BDCB45 #45CB96
square
#5345CB #CB457A #BDCB45 #45CB96
split-complementary
#5345CB #CB9645 #7ACB45
monochromatic
#292175 #3A2EA5 #5345CB #7F75D8 #ABA5E6

Accessibility & contrast

On white

6.82
#5345CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5345CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345CB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345CB#FFFFFF#000000##FFFFFF
##5345CB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5345cb;
/* rgb */ color: rgb(83, 69, 203);
/* oklch */ color: oklch(48.9% 0.198 280.8);
Tailwind
colors: {
  custom: {
    50: '#907adc',
    500: '#5345cb',
    950: '#000000',
  },
}
SCSS
$custom: #5345cb;
$custom-light: #907adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5345cb",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 246.269,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.19847,
    "h": 280.8
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#5345CB
secondary
#CDD399
accent
#E048D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5345CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5345CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva