#4730C2#4730C2

#4730C2 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.1% C 0.212 H 280.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4730C2
RGBrgb(71, 48, 194)
HSLhsl(249, 60%, 47%)
HSVhsv(249, 75%, 76%)
CMYKcmyk(63.4%, 75.3%, 0%, 23.9%)
CIE-LABlab(32.59, 50.75, -72.30)
CIE-LCHlch(32.59, 88.33, 305.06°)
OKLaboklab(44.12% 0.0382 -0.2087)
OKLCHoklch(44.12% 0.212 280.4)
XYZxyz(13.3900, 7.3475, 51.7411)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730C2 #ABC230
analogous
#3062C2 #4730C2 #9030C2
triadic
#4730C2 #C24730 #30C247
tetradic
#4730C2 #C23062 #ABC230 #30C290
square
#4730C2 #C23062 #ABC230 #30C290
split-complementary
#4730C2 #C29030 #62C230
monochromatic
#231860 #352491 #4730C2 #6D59D6 #988AE2

Accessibility & contrast

On white

8.50
#4730C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4730C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730C2
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730C2#FFFFFF#000000##FFFFFF
##4730C21.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4730c2;
/* rgb */ color: rgb(71, 48, 194);
/* oklch */ color: oklch(44.1% 0.212 280.4);
Tailwind
colors: {
  custom: {
    50: '#8a6cd6',
    500: '#4730c2',
    950: '#000000',
  },
}
SCSS
$custom: #4730c2;
$custom-light: #8a6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4730c2",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 249.452,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.21213,
    "h": 280.4
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

primary
#4730C2
secondary
#C0CC82
accent
#E344CA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4730C2

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

Preview Lab → · Contrast checker → · Palette generator →

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