#5345CC#5345CC

#5345CC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.0% C 0.200 H 280.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5345CC
RGBrgb(83, 69, 204)
HSLhsl(246, 57%, 54%)
HSVhsv(246, 66%, 80%)
CMYKcmyk(59.3%, 66.2%, 0%, 20%)
CIE-LABlab(38.64, 43.90, -68.15)
CIE-LCHlch(38.64, 81.07, 302.79°)
OKLaboklab(48.96% 0.0372 -0.1962)
OKLCHoklch(48.96% 0.2 280.7)
XYZxyz(16.5911, 10.4537, 58.2585)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345CC #BECC45
analogous
#457ACC #5345CC #9645CC
triadic
#5345CC #CC5345 #45CC53
tetradic
#5345CC #CC457A #BECC45 #45CC96
square
#5345CC #CC457A #BECC45 #45CC96
split-complementary
#5345CC #CC9645 #7ACC45
monochromatic
#292076 #3A2EA6 #5345CC #7F75D9 #ACA5E6

Accessibility & contrast

On white

6.79
#5345CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5345CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345CC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345CC#FFFFFF#000000##FFFFFF
##5345CC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5345cc;
/* rgb */ color: rgb(83, 69, 204);
/* oklch */ color: oklch(49.0% 0.200 280.7);
Tailwind
colors: {
  custom: {
    50: '#907add',
    500: '#5345cc',
    950: '#000000',
  },
}
SCSS
$custom: #5345cc;
$custom-light: #907add;
$custom-dark: #000000;
JSON
{
  "hex": "#5345cc",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 246.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.19973,
    "h": 280.7
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5345CC

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

Preview Lab → · Contrast checker → · Palette generator →

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