#4734AB#4734AB

#4734AB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.5% C 0.180 H 282.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4734AB
RGBrgb(71, 52, 171)
HSLhsl(250, 53%, 44%)
HSVhsv(250, 70%, 67%)
CMYKcmyk(58.5%, 69.6%, 0%, 32.9%)
CIE-LABlab(31.20, 41.52, -60.94)
CIE-LCHlch(31.20, 73.74, 304.26°)
OKLaboklab(42.48% 0.0401 -0.1754)
OKLCHoklch(42.48% 0.18 282.9)
XYZxyz(11.1749, 6.7351, 39.2313)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734AB #98AB34
analogous
#345CAB #4734AB #8234AB
triadic
#4734AB #AB4734 #34AB47
tetradic
#4734AB #AB345C #98AB34 #34AB82
square
#4734AB #AB345C #98AB34 #34AB82
split-complementary
#4734AB #AB8234 #5CAB34
monochromatic
#20174D #34267C #4734AB #6552CA #8F81D9

Accessibility & contrast

On white

8.95
#4734AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4734AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734AB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734AB#FFFFFF#000000##FFFFFF
##4734AB1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#0C536B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4734ab;
/* rgb */ color: rgb(71, 52, 171);
/* oklch */ color: oklch(42.5% 0.180 282.9);
Tailwind
colors: {
  custom: {
    50: '#856dc5',
    500: '#4734ab',
    950: '#000000',
  },
}
SCSS
$custom: #4734ab;
$custom-light: #856dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4734ab",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 249.58,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.17997,
    "h": 282.9
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#4734AB
secondary
#B6C279
accent
#DD4BC5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4734AB

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

Preview Lab → · Contrast checker → · Palette generator →

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