#5341C8#5341C8

#5341C8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 48.0% C 0.199 H 281.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5341C8
RGBrgb(83, 65, 200)
HSLhsl(248, 55%, 52%)
HSVhsv(248, 68%, 78%)
CMYKcmyk(58.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(37.46, 44.95, -67.77)
CIE-LCHlch(37.46, 81.32, 303.56°)
OKLaboklab(48.01% 0.0411 -0.1951)
OKLCHoklch(48.01% 0.199 281.9)
XYZxyz(15.8797, 9.7887, 55.6850)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341C8 #B6C841
analogous
#4173C8 #5341C8 #9741C8
triadic
#5341C8 #C85341 #41C853
tetradic
#5341C8 #C84173 #B6C841 #41C897
square
#5341C8 #C84173 #B6C841 #41C897
split-complementary
#5341C8 #C89741 #73C841
monochromatic
#2A206F #3D2E9E #5341C8 #7E70D6 #A9A0E3

Accessibility & contrast

On white

7.10
#5341C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5341C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5341C8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341C8#FFFFFF#000000##FFFFFF
##5341C81.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#04647F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5341c8;
/* rgb */ color: rgb(83, 65, 200);
/* oklch */ color: oklch(48.0% 0.199 281.9);
Tailwind
colors: {
  custom: {
    50: '#8f77da',
    500: '#5341c8',
    950: '#000000',
  },
}
SCSS
$custom: #5341c8;
$custom-light: #8f77da;
$custom-dark: #000000;
JSON
{
  "hex": "#5341c8",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 248,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.19938,
    "h": 281.9
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#5341C8
secondary
#C8D095
accent
#DE49CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5341C8

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

Preview Lab → · Contrast checker → · Palette generator →

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