#5345EF#5345EF

#5345EF is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.1% C 0.242 H 277.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5345EF
RGBrgb(83, 69, 239)
HSLhsl(245, 84%, 60%)
HSVhsv(245, 71%, 94%)
CMYKcmyk(65.3%, 71.1%, 0%, 6.3%)
CIE-LABlab(41.73, 54.73, -83.10)
CIE-LCHlch(41.73, 99.50, 303.37°)
OKLaboklab(52.12% 0.0318 -0.24)
OKLCHoklch(52.12% 0.242 277.6)
XYZxyz(21.2703, 12.3254, 82.9027)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345EF #E1EF45
analogous
#458CEF #5345EF #A845EF
triadic
#5345EF #EF5345 #45EF53
tetradic
#5345EF #EF458C #E1EF45 #45EFA8
square
#5345EF #EF458C #E1EF45 #45EFA8
split-complementary
#5345EF #EFA845 #8CEF45
monochromatic
#1C0FAB #2514E3 #5345EF #877DF4 #BBB6F9

Accessibility & contrast

On white

6.06
#5345EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5345EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345EF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345EF#FFFFFF#000000##FFFFFF
##5345EF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F4
Deuteranopia (green-blind)
#005BEC
Tritanopia (blue-blind)
#007496
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5345ef;
/* rgb */ color: rgb(83, 69, 239);
/* oklch */ color: oklch(52.1% 0.242 277.6);
Tailwind
colors: {
  custom: {
    50: '#967bf6',
    500: '#5345ef',
    950: '#000000',
  },
}
SCSS
$custom: #5345ef;
$custom-light: #967bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5345ef",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 244.941,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.24207,
    "h": 277.6
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#5345EF
secondary
#E3E8A7
accent
#E105CF
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5345EF

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

Preview Lab → · Contrast checker → · Palette generator →

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