#4734D2#4734D2

#4734D2 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.2% C 0.227 H 278.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4734D2
RGBrgb(71, 52, 210)
HSLhsl(247, 64%, 51%)
HSVhsv(247, 75%, 82%)
CMYKcmyk(66.2%, 75.2%, 0%, 17.6%)
CIE-LABlab(34.90, 53.52, -77.82)
CIE-LCHlch(34.90, 94.45, 304.52°)
OKLaboklab(46.22% 0.0321 -0.2248)
OKLCHoklch(46.22% 0.227 278.1)
XYZxyz(15.4556, 8.4474, 61.7763)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734D2 #BFD234
analogous
#3470D2 #4734D2 #9634D2
triadic
#4734D2 #D24734 #34D247
tetradic
#4734D2 #D23470 #BFD234 #34D296
square
#4734D2 #D23470 #BFD234 #34D296
split-complementary
#4734D2 #D29634 #70D234
monochromatic
#241972 #3424A4 #4734D2 #7466DD #A298E8

Accessibility & contrast

On white

7.81
#4734D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4734D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734D2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734D2#FFFFFF#000000##FFFFFF
##4734D21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4734d2;
/* rgb */ color: rgb(71, 52, 210);
/* oklch */ color: oklch(46.2% 0.227 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c6fe1',
    500: '#4734d2',
    950: '#000000',
  },
}
SCSS
$custom: #4734d2;
$custom-light: #8c6fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4734d2",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 247.215,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.22705,
    "h": 278.1
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#4734D2
secondary
#CBD48E
accent
#E741D3
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #4734D2

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

Preview Lab → · Contrast checker → · Palette generator →

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