#5345CD#5345CD

#5345CD is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.201 H 280.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5345CD
RGBrgb(83, 69, 205)
HSLhsl(246, 58%, 54%)
HSVhsv(246, 66%, 80%)
CMYKcmyk(59.5%, 66.3%, 0%, 19.6%)
CIE-LABlab(38.73, 44.21, -68.59)
CIE-LCHlch(38.73, 81.61, 302.80°)
OKLaboklab(49.05% 0.0371 -0.1975)
OKLCHoklch(49.05% 0.201 280.6)
XYZxyz(16.7114, 10.5018, 58.8922)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345CD #BFCD45
analogous
#457BCD #5345CD #9745CD
triadic
#5345CD #CD5345 #45CD53
tetradic
#5345CD #CD457B #BFCD45 #45CD97
square
#5345CD #CD457B #BFCD45 #45CD97
split-complementary
#5345CD #CD9745 #7BCD45
monochromatic
#292077 #3A2DA8 #5345CD #8075DA #ACA5E7

Accessibility & contrast

On white

6.77
#5345CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5345CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345CD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345CD#FFFFFF#000000##FFFFFF
##5345CD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5345cd;
/* rgb */ color: rgb(83, 69, 205);
/* oklch */ color: oklch(49.1% 0.201 280.6);
Tailwind
colors: {
  custom: {
    50: '#907add',
    500: '#5345cd',
    950: '#000000',
  },
}
SCSS
$custom: #5345cd;
$custom-light: #907add;
$custom-dark: #000000;
JSON
{
  "hex": "#5345cd",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 246.176,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.20098,
    "h": 280.6
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#5345CD
secondary
#CED49A
accent
#E147D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5345CD

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

Preview Lab → · Contrast checker → · Palette generator →

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