#5345CE#5345CE

#5345CE is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.1% C 0.202 H 280.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5345CE
RGBrgb(83, 69, 206)
HSLhsl(246, 58%, 54%)
HSVhsv(246, 67%, 81%)
CMYKcmyk(59.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(38.81, 44.52, -69.03)
CIE-LCHlch(38.81, 82.15, 302.82°)
OKLaboklab(49.14% 0.037 -0.1988)
OKLCHoklch(49.14% 0.202 280.5)
XYZxyz(16.8325, 10.5503, 59.5300)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345CE #C0CE45
analogous
#457CCE #5345CE #9845CE
triadic
#5345CE #CE5345 #45CE53
tetradic
#5345CE #CE457C #C0CE45 #45CE98
square
#5345CE #CE457C #C0CE45 #45CE98
split-complementary
#5345CE #CE9845 #7CCE45
monochromatic
#292079 #392DA9 #5345CE #8075DB #ADA6E8

Accessibility & contrast

On white

6.75
#5345CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5345CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345CE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345CE#FFFFFF#000000##FFFFFF
##5345CE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5345ce;
/* rgb */ color: rgb(83, 69, 206);
/* oklch */ color: oklch(49.1% 0.202 280.5);
Tailwind
colors: {
  custom: {
    50: '#907ade',
    500: '#5345ce',
    950: '#000000',
  },
}
SCSS
$custom: #5345ce;
$custom-light: #907ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5345ce",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 246.131,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.20223,
    "h": 280.5
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5345CE

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

Preview Lab → · Contrast checker → · Palette generator →

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