#4734D1#4734D1

#4734D1 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.1% C 0.226 H 278.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4734D1
RGBrgb(71, 52, 209)
HSLhsl(247, 63%, 51%)
HSVhsv(247, 75%, 82%)
CMYKcmyk(66%, 75.1%, 0%, 18%)
CIE-LABlab(34.80, 53.22, -77.40)
CIE-LCHlch(34.80, 93.93, 304.51°)
OKLaboklab(46.12% 0.0323 -0.2236)
OKLCHoklch(46.12% 0.226 278.2)
XYZxyz(15.3314, 8.3977, 61.1222)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734D1 #BED134
analogous
#346FD1 #4734D1 #9534D1
triadic
#4734D1 #D14734 #34D147
tetradic
#4734D1 #D1346F #BED134 #34D195
square
#4734D1 #D1346F #BED134 #34D195
split-complementary
#4734D1 #D19534 #6FD134
monochromatic
#241A71 #3425A3 #4734D1 #7466DC #A198E8

Accessibility & contrast

On white

7.84
#4734D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4734D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734D1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734D1#FFFFFF#000000##FFFFFF
##4734D11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004BCE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4734d1;
/* rgb */ color: rgb(71, 52, 209);
/* oklch */ color: oklch(46.1% 0.226 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c6fe0',
    500: '#4734d1',
    950: '#000000',
  },
}
SCSS
$custom: #4734d1;
$custom-light: #8c6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4734d1",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 247.261,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46121,
    "c": 0.22589,
    "h": 278.2
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#4734D1
secondary
#CBD38E
accent
#E642D2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4734D1

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

Preview Lab → · Contrast checker → · Palette generator →

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