#5345DA#5345DA

#5345DA is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.217 H 279.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5345DA
RGBrgb(83, 69, 218)
HSLhsl(246, 67%, 56%)
HSVhsv(246, 68%, 85%)
CMYKcmyk(61.9%, 68.3%, 0%, 14.5%)
CIE-LABlab(39.84, 48.26, -74.26)
CIE-LCHlch(39.84, 88.56, 303.02°)
OKLaboklab(50.2% 0.0353 -0.2141)
OKLCHoklch(50.2% 0.217 279.4)
XYZxyz(18.3463, 11.1558, 67.5026)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345DA #CCDA45
analogous
#4582DA #5345DA #9E45DA
triadic
#5345DA #DA5345 #45DA53
tetradic
#5345DA #DA4582 #CCDA45 #45DA9E
square
#5345DA #DA4582 #CCDA45 #45DA9E
split-complementary
#5345DA #DA9E45 #82DA45
monochromatic
#261B89 #3425BC #5345DA #8278E4 #B1ABEE

Accessibility & contrast

On white

6.50
#5345DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5345DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345DA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345DA#FFFFFF#000000##FFFFFF
##5345DA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0058D7
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5345da;
/* rgb */ color: rgb(83, 69, 218);
/* oklch */ color: oklch(50.2% 0.217 279.4);
Tailwind
colors: {
  custom: {
    50: '#927ae7',
    500: '#5345da',
    950: '#000000',
  },
}
SCSS
$custom: #5345da;
$custom-light: #927ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5345da",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 245.638,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.21702,
    "h": 279.4
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#5345DA
secondary
#D6DC9F
accent
#EA3EDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345DA

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

Preview Lab → · Contrast checker → · Palette generator →

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