#4734C4#4734C4

#4734C4 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.211 H 279.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4734C4
RGBrgb(71, 52, 196)
HSLhsl(248, 58%, 49%)
HSVhsv(248, 73%, 77%)
CMYKcmyk(63.8%, 73.5%, 0%, 23.1%)
CIE-LABlab(33.52, 49.26, -71.94)
CIE-LCHlch(33.52, 87.19, 304.40°)
OKLaboklab(44.84% 0.0352 -0.2076)
OKLCHoklch(44.84% 0.211 279.6)
XYZxyz(13.7872, 7.7800, 52.9890)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734C4 #B1C434
analogous
#3469C4 #4734C4 #8F34C4
triadic
#4734C4 #C44734 #34C447
tetradic
#4734C4 #C43469 #B1C434 #34C48F
square
#4734C4 #C43469 #B1C434 #34C48F
split-complementary
#4734C4 #C48F34 #69C434
monochromatic
#241A63 #352794 #4734C4 #7060D5 #9B91E2

Accessibility & contrast

On white

8.22
#4734C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4734C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734C4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734C4#FFFFFF#000000##FFFFFF
##4734C41.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0049C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4734c4;
/* rgb */ color: rgb(71, 52, 196);
/* oklch */ color: oklch(44.8% 0.211 279.6);
Tailwind
colors: {
  custom: {
    50: '#8a6ed7',
    500: '#4734c4',
    950: '#000000',
  },
}
SCSS
$custom: #4734c4;
$custom-light: #8a6ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4734c4",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 247.917,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.21058,
    "h": 279.6
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#4734C4
secondary
#C3CC87
accent
#E147CD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4734C4

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

Preview Lab → · Contrast checker → · Palette generator →

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