#4730C4#4730C4

#4730C4 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.214 H 280.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4730C4
RGBrgb(71, 48, 196)
HSLhsl(249, 61%, 48%)
HSVhsv(249, 76%, 77%)
CMYKcmyk(63.8%, 75.5%, 0%, 23.1%)
CIE-LABlab(32.78, 51.35, -73.15)
CIE-LCHlch(32.78, 89.37, 305.07°)
OKLaboklab(44.32% 0.0378 -0.2111)
OKLCHoklch(44.32% 0.214 280.1)
XYZxyz(13.6161, 7.4380, 52.9320)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730C4 #ADC430
analogous
#3063C4 #4730C4 #9130C4
triadic
#4730C4 #C44730 #30C447
tetradic
#4730C4 #C43063 #ADC430 #30C491
square
#4730C4 #C43063 #ADC430 #30C491
split-complementary
#4730C4 #C49130 #63C430
monochromatic
#231862 #352493 #4730C4 #6E5AD7 #998CE3

Accessibility & contrast

On white

8.44
#4730C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4730C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730C4
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730C4#FFFFFF#000000##FFFFFF
##4730C41.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4730c4;
/* rgb */ color: rgb(71, 48, 196);
/* oklch */ color: oklch(44.3% 0.214 280.1);
Tailwind
colors: {
  custom: {
    50: '#8a6cd7',
    500: '#4730c4',
    950: '#000000',
  },
}
SCSS
$custom: #4730c4;
$custom-light: #8a6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4730c4",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 249.324,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.21448,
    "h": 280.1
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#4730C4
secondary
#C1CD83
accent
#E444CB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4730C4

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

Preview Lab → · Contrast checker → · Palette generator →

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