#5345DD#5345DD

#5345DD is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.221 H 279.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5345DD
RGBrgb(83, 69, 221)
HSLhsl(246, 69%, 57%)
HSVhsv(246, 69%, 87%)
CMYKcmyk(62.4%, 68.8%, 0%, 13.3%)
CIE-LABlab(40.10, 49.20, -75.54)
CIE-LCHlch(40.10, 90.15, 303.07°)
OKLaboklab(50.46% 0.0348 -0.2179)
OKLCHoklch(50.46% 0.221 279.1)
XYZxyz(18.7424, 11.3142, 69.5888)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345DD #CFDD45
analogous
#4583DD #5345DD #9F45DD
triadic
#5345DD #DD5345 #45DD53
tetradic
#5345DD #DD4583 #CFDD45 #45DD9F
square
#5345DD #DD4583 #CFDD45 #45DD9F
split-complementary
#5345DD #DD9F45 #83DD45
monochromatic
#251A8E #3223C1 #5345DD #8379E6 #B3ACF0

Accessibility & contrast

On white

6.44
#5345DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5345DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345DD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345DD#FFFFFF#000000##FFFFFF
##5345DD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5345dd;
/* rgb */ color: rgb(83, 69, 221);
/* oklch */ color: oklch(50.5% 0.221 279.1);
Tailwind
colors: {
  custom: {
    50: '#937ae9',
    500: '#5345dd',
    950: '#000000',
  },
}
SCSS
$custom: #5345dd;
$custom-light: #937ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5345dd",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 245.526,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.22066,
    "h": 279.1
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#5345DD
secondary
#D8DEA0
accent
#EC3CDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345DD

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

Preview Lab → · Contrast checker → · Palette generator →

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