#5345CA#5345CA

#5345CA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.197 H 280.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5345CA
RGBrgb(83, 69, 202)
HSLhsl(246, 56%, 53%)
HSVhsv(246, 66%, 79%)
CMYKcmyk(58.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(38.48, 43.27, -67.26)
CIE-LCHlch(38.48, 79.98, 302.75°)
OKLaboklab(48.79% 0.0375 -0.1936)
OKLCHoklch(48.79% 0.197 280.9)
XYZxyz(16.3527, 10.3584, 57.0033)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345CA #BCCA45
analogous
#4579CA #5345CA #9645CA
triadic
#5345CA #CA5345 #45CA53
tetradic
#5345CA #CA4579 #BCCA45 #45CA96
square
#5345CA #CA4579 #BCCA45 #45CA96
split-complementary
#5345CA #CA9645 #79CA45
monochromatic
#2A2174 #3B2FA3 #5345CA #7F75D8 #ABA4E5

Accessibility & contrast

On white

6.84
#5345CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5345CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345CA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345CA#FFFFFF#000000##FFFFFF
##5345CA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5345ca;
/* rgb */ color: rgb(83, 69, 202);
/* oklch */ color: oklch(48.8% 0.197 280.9);
Tailwind
colors: {
  custom: {
    50: '#8f7adb',
    500: '#5345ca',
    950: '#000000',
  },
}
SCSS
$custom: #5345ca;
$custom-light: #8f7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5345ca",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 246.316,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.19722,
    "h": 280.9
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#5345CA
secondary
#CCD299
accent
#DF49CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5345CA

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

Preview Lab → · Contrast checker → · Palette generator →

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