#4751AC#4751AC

#4751AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.144 H 274.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4751AC
RGBrgb(71, 81, 172)
HSLhsl(234, 42%, 48%)
HSVhsv(234, 59%, 67%)
CMYKcmyk(58.7%, 52.9%, 0%, 32.5%)
CIE-LABlab(38.20, 23.88, -50.15)
CIE-LCHlch(38.20, 55.55, 295.47°)
OKLaboklab(47.65% 0.0121 -0.1436)
OKLCHoklch(47.65% 0.144 274.8)
XYZxyz(12.9849, 10.2020, 40.3067)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751AC #ACA247
analogous
#4784AC #4751AC #6F47AC
triadic
#4751AC #AC4751 #51AC47
tetradic
#4751AC #AC4784 #ACA247 #47AC6F
square
#4751AC #AC4784 #ACA247 #47AC6F
split-complementary
#4751AC #AC6F47 #84AC47
monochromatic
#232855 #353D81 #4751AC #6D76C3 #999FD5

Accessibility & contrast

On white

6.91
#4751AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4751AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751AC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751AC#FFFFFF#000000##FFFFFF
##4751AC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4751ac;
/* rgb */ color: rgb(71, 81, 172);
/* oklch */ color: oklch(47.7% 0.144 274.8);
Tailwind
colors: {
  custom: {
    50: '#8381c5',
    500: '#4751ac',
    950: '#000000',
  },
}
SCSS
$custom: #4751ac;
$custom-light: #8381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4751ac",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 234.059,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.14409,
    "h": 274.8
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#4751AC
secondary
#C1BC8E
accent
#C556D1
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4751AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4751AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva