#4734AF#4734AF

#4734AF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.185 H 282.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4734AF
RGBrgb(71, 52, 175)
HSLhsl(249, 54%, 45%)
HSVhsv(249, 70%, 69%)
CMYKcmyk(59.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(31.55, 42.76, -62.75)
CIE-LCHlch(31.55, 75.94, 304.28°)
OKLaboklab(42.84% 0.0394 -0.1807)
OKLCHoklch(42.84% 0.185 282.3)
XYZxyz(11.5620, 6.8899, 41.2698)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4734AF #9CAF34
analogous
#345FAF #4734AF #8434AF
triadic
#4734AF #AF4734 #34AF47
tetradic
#4734AF #AF345F #9CAF34 #34AF84
square
#4734AF #AF345F #9CAF34 #34AF84
split-complementary
#4734AF #AF8434 #5FAF34
monochromatic
#211851 #342680 #4734AF #6754CC #9183DA

Accessibility & contrast

On white

8.83
#4734AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4734AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4734AF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4734AF#FFFFFF#000000##FFFFFF
##4734AF1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4734af;
/* rgb */ color: rgb(71, 52, 175);
/* oklch */ color: oklch(42.8% 0.185 282.3);
Tailwind
colors: {
  custom: {
    50: '#866dc8',
    500: '#4734af',
    950: '#000000',
  },
}
SCSS
$custom: #4734af;
$custom-light: #866dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4734af",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 249.268,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.18499,
    "h": 282.3
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#4734AF
secondary
#B8C47B
accent
#DE4AC7
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4734AF

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

Preview Lab → · Contrast checker → · Palette generator →

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