#5341BF#5341BF

#5341BF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.2% C 0.188 H 283.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5341BF
RGBrgb(83, 65, 191)
HSLhsl(249, 50%, 50%)
HSVhsv(249, 66%, 75%)
CMYKcmyk(56.5%, 66%, 0%, 25.1%)
CIE-LABlab(36.71, 42.17, -63.74)
CIE-LCHlch(36.71, 76.43, 303.49°)
OKLaboklab(47.23% 0.0423 -0.1833)
OKLCHoklch(47.23% 0.188 283)
XYZxyz(14.8587, 9.3803, 50.3077)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341BF #ADBF41
analogous
#416EBF #5341BF #9241BF
triadic
#5341BF #BF5341 #41BF53
tetradic
#5341BF #BF416E #ADBF41 #41BF92
square
#5341BF #BF416E #ADBF41 #41BF92
split-complementary
#5341BF #BF9241 #6EBF41
monochromatic
#2B2264 #3F3192 #5341BF #7C6FCE #A69DDE

Accessibility & contrast

On white

7.30
#5341BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5341BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5341BF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341BF#FFFFFF#000000##FFFFFF
##5341BF1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#1C617A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5341bf;
/* rgb */ color: rgb(83, 65, 191);
/* oklch */ color: oklch(47.2% 0.188 283.0);
Tailwind
colors: {
  custom: {
    50: '#8e77d3',
    500: '#5341bf',
    950: '#000000',
  },
}
SCSS
$custom: #5341bf;
$custom-light: #8e77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5341bf",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 248.571,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.18811,
    "h": 283
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#5341BF
secondary
#C2CA92
accent
#D94FC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5341BF

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

Preview Lab → · Contrast checker → · Palette generator →

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