#4730CE#4730CE

#4730CE is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.3% C 0.226 H 279.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4730CE
RGBrgb(71, 48, 206)
HSLhsl(249, 62%, 50%)
HSVhsv(249, 77%, 81%)
CMYKcmyk(65.5%, 76.7%, 0%, 19.2%)
CIE-LABlab(33.79, 54.33, -77.32)
CIE-LCHlch(33.79, 94.50, 305.09°)
OKLaboklab(45.33% 0.0353 -0.2233)
OKLCHoklch(45.33% 0.226 279)
XYZxyz(14.7925, 7.9085, 59.1275)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4730CE #B7CE30
analogous
#3068CE #4730CE #9630CE
triadic
#4730CE #CE4730 #30CE47
tetradic
#4730CE #CE3068 #B7CE30 #30CE96
square
#4730CE #CE3068 #B7CE30 #30CE96
split-complementary
#4730CE #CE9630 #68CE30
monochromatic
#25196B #36249C #4730CE #7361DA #9F93E6

Accessibility & contrast

On white

8.13
#4730CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4730CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4730CE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4730CE#FFFFFF#000000##FFFFFF
##4730CE1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0049CB
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4730ce;
/* rgb */ color: rgb(71, 48, 206);
/* oklch */ color: oklch(45.3% 0.226 279.0);
Tailwind
colors: {
  custom: {
    50: '#8c6cde',
    500: '#4730ce',
    950: '#000000',
  },
}
SCSS
$custom: #4730ce;
$custom-light: #8c6cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4730ce",
  "rgb": {
    "r": 71,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 248.734,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.22606,
    "h": 279
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#4730CE
secondary
#C6D189
accent
#E543CE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4730CE

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

Preview Lab → · Contrast checker → · Palette generator →

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