#4734C2#4734C2

#4734C2 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.208 H 279.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4734C2
RGBrgb(71, 52, 194)
HSLhsl(248, 58%, 48%)
HSVhsv(248, 73%, 76%)
CMYKcmyk(63.4%, 73.2%, 0%, 23.9%)
CIE-LABlab(33.33, 48.65, -71.08)
CIE-LCHlch(33.33, 86.13, 304.39°)
OKLaboklab(44.64% 0.0357 -0.2051)
OKLCHoklch(44.64% 0.208 279.9)
XYZxyz(13.5610, 7.6896, 51.7981)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734C2 #AFC234
analogous
#3468C2 #4734C2 #8E34C2
triadic
#4734C2 #C24734 #34C247
tetradic
#4734C2 #C23468 #AFC234 #34C28E
square
#4734C2 #C23468 #AFC234 #34C28E
split-complementary
#4734C2 #C28E34 #68C234
monochromatic
#241A61 #352792 #4734C2 #6F5FD4 #9A8FE1

Accessibility & contrast

On white

8.27
#4734C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4734C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734C2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734C2#FFFFFF#000000##FFFFFF
##4734C21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4734c2;
/* rgb */ color: rgb(71, 52, 194);
/* oklch */ color: oklch(44.6% 0.208 279.9);
Tailwind
colors: {
  custom: {
    50: '#896ed6',
    500: '#4734c2',
    950: '#000000',
  },
}
SCSS
$custom: #4734c2;
$custom-light: #896ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4734c2",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 248.028,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.2082,
    "h": 279.9
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#4734C2
secondary
#C2CC86
accent
#E147CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4734C2

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

Preview Lab → · Contrast checker → · Palette generator →

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