#5345CF#5345CF

#5345CF is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.203 H 280.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5345CF
RGBrgb(83, 69, 207)
HSLhsl(246, 59%, 54%)
HSVhsv(246, 67%, 81%)
CMYKcmyk(59.9%, 66.7%, 0%, 18.8%)
CIE-LABlab(38.90, 44.84, -69.48)
CIE-LCHlch(38.90, 82.69, 302.84°)
OKLaboklab(49.22% 0.0368 -0.2001)
OKLCHoklch(49.22% 0.203 280.4)
XYZxyz(16.9543, 10.5990, 60.1718)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345CF #C1CF45
analogous
#457CCF #5345CF #9845CF
triadic
#5345CF #CF5345 #45CF53
tetradic
#5345CF #CF457C #C1CF45 #45CF98
square
#5345CF #CF457C #C1CF45 #45CF98
split-complementary
#5345CF #CF9845 #7CCF45
monochromatic
#29207A #392CAB #5345CF #8076DC #ADA6E8

Accessibility & contrast

On white

6.73
#5345CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5345CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345CF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345CF#FFFFFF#000000##FFFFFF
##5345CF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5345cf;
/* rgb */ color: rgb(83, 69, 207);
/* oklch */ color: oklch(49.2% 0.203 280.4);
Tailwind
colors: {
  custom: {
    50: '#907adf',
    500: '#5345cf',
    950: '#000000',
  },
}
SCSS
$custom: #5345cf;
$custom-light: #907adf;
$custom-dark: #000000;
JSON
{
  "hex": "#5345cf",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 246.087,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49224,
    "c": 0.20347,
    "h": 280.4
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#5345CF
secondary
#CFD59B
accent
#E246D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5345CF

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

Preview Lab → · Contrast checker → · Palette generator →

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