#5345DB#5345DB

#5345DB is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.218 H 279.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5345DB
RGBrgb(83, 69, 219)
HSLhsl(246, 68%, 56%)
HSVhsv(246, 68%, 86%)
CMYKcmyk(62.1%, 68.5%, 0%, 14.1%)
CIE-LABlab(39.93, 48.58, -74.69)
CIE-LCHlch(39.93, 89.09, 303.04°)
OKLaboklab(50.28% 0.0352 -0.2154)
OKLCHoklch(50.28% 0.218 279.3)
XYZxyz(18.4775, 11.2083, 68.1938)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345DB #CDDB45
analogous
#4582DB #5345DB #9E45DB
triadic
#5345DB #DB5345 #45DB53
tetradic
#5345DB #DB4582 #CDDB45 #45DB9E
square
#5345DB #DB4582 #CDDB45 #45DB9E
split-complementary
#5345DB #DB9E45 #82DB45
monochromatic
#251B8B #3325BE #5345DB #8278E5 #B2ACEF

Accessibility & contrast

On white

6.48
#5345DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5345DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345DB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345DB#FFFFFF#000000##FFFFFF
##5345DB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5345db;
/* rgb */ color: rgb(83, 69, 219);
/* oklch */ color: oklch(50.3% 0.218 279.3);
Tailwind
colors: {
  custom: {
    50: '#927ae7',
    500: '#5345db',
    950: '#000000',
  },
}
SCSS
$custom: #5345db;
$custom-light: #927ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5345db",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 245.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50284,
    "c": 0.21823,
    "h": 279.3
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#5345DB
secondary
#D7DD9F
accent
#EA3DDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345DB

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

Preview Lab → · Contrast checker → · Palette generator →

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