#5345BF#5345BF

#5345BF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.183 H 282.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5345BF
RGBrgb(83, 69, 191)
HSLhsl(247, 49%, 51%)
HSVhsv(247, 64%, 75%)
CMYKcmyk(56.5%, 63.9%, 0%, 25.1%)
CIE-LABlab(37.58, 39.82, -62.31)
CIE-LCHlch(37.58, 73.95, 302.58°)
OKLaboklab(47.86% 0.0386 -0.1791)
OKLCHoklch(47.86% 0.183 282.2)
XYZxyz(15.0965, 9.8559, 50.3870)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345BF #B1BF45
analogous
#4574BF #5345BF #9045BF
triadic
#5345BF #BF5345 #45BF53
tetradic
#5345BF #BF4574 #B1BF45 #45BF90
square
#5345BF #BF4574 #B1BF45 #45BF90
split-complementary
#5345BF #BF9045 #74BF45
monochromatic
#2B2366 #3E3394 #5345BF #7D73CF #A7A0DE

Accessibility & contrast

On white

7.07
#5345BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5345BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5345BF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345BF#FFFFFF#000000##FFFFFF
##5345BF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#1B637C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5345bf;
/* rgb */ color: rgb(83, 69, 191);
/* oklch */ color: oklch(47.9% 0.183 282.2);
Tailwind
colors: {
  custom: {
    50: '#8e79d3',
    500: '#5345bf',
    950: '#000000',
  },
}
SCSS
$custom: #5345bf;
$custom-light: #8e79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5345bf",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 246.885,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47864,
    "c": 0.1832,
    "h": 282.2
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#5345BF
secondary
#C5CB95
accent
#D84FC9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5345BF

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

Preview Lab → · Contrast checker → · Palette generator →

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