#4734C5#4734C5

#4734C5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.212 H 279.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4734C5
RGBrgb(71, 52, 197)
HSLhsl(248, 58%, 49%)
HSVhsv(248, 74%, 77%)
CMYKcmyk(64%, 73.6%, 0%, 22.7%)
CIE-LABlab(33.62, 49.57, -72.36)
CIE-LCHlch(33.62, 87.71, 304.41°)
OKLaboklab(44.93% 0.035 -0.2089)
OKLCHoklch(44.93% 0.212 279.5)
XYZxyz(13.9014, 7.8257, 53.5904)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734C5 #B2C534
analogous
#346AC5 #4734C5 #9034C5
triadic
#4734C5 #C54734 #34C547
tetradic
#4734C5 #C5346A #B2C534 #34C590
square
#4734C5 #C5346A #B2C534 #34C590
split-complementary
#4734C5 #C59034 #6AC534
monochromatic
#241A64 #362795 #4734C5 #7061D5 #9C91E2

Accessibility & contrast

On white

8.19
#4734C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4734C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734C5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734C5#FFFFFF#000000##FFFFFF
##4734C51.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4734c5;
/* rgb */ color: rgb(71, 52, 197);
/* oklch */ color: oklch(44.9% 0.212 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ed8',
    500: '#4734c5',
    950: '#000000',
  },
}
SCSS
$custom: #4734c5;
$custom-light: #8a6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4734c5",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 247.862,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44934,
    "c": 0.21178,
    "h": 279.5
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#4734C5
secondary
#C4CD88
accent
#E146CD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4734C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4734C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva