#4751BD#4751BD

#4751BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.168 H 274.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4751BD
RGBrgb(71, 81, 189)
HSLhsl(235, 47%, 51%)
HSVhsv(235, 62%, 74%)
CMYKcmyk(62.4%, 57.1%, 0%, 25.9%)
CIE-LABlab(39.41, 29.71, -58.22)
CIE-LCHlch(39.41, 65.36, 297.03°)
OKLaboklab(48.94% 0.0128 -0.1673)
OKLCHoklch(48.94% 0.168 274.4)
XYZxyz(14.7232, 10.8974, 49.4618)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751BD #BDB347
analogous
#478CBD #4751BD #7847BD
triadic
#4751BD #BD4751 #51BD47
tetradic
#4751BD #BD478C #BDB347 #47BD78
square
#4751BD #BD478C #BDB347 #47BD78
split-complementary
#4751BD #BD7847 #8CBD47
monochromatic
#242A65 #343C92 #4751BD #747CCD #A1A6DD

Accessibility & contrast

On white

6.60
#4751BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4751BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751BD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751BD#FFFFFF#000000##FFFFFF
##4751BD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4751bd;
/* rgb */ color: rgb(71, 81, 189);
/* oklch */ color: oklch(48.9% 0.168 274.4);
Tailwind
colors: {
  custom: {
    50: '#8681d2',
    500: '#4751bd',
    950: '#000000',
  },
}
SCSS
$custom: #4751bd;
$custom-light: #8681d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4751bd",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 234.915,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48935,
    "c": 0.1678,
    "h": 274.4
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#4751BD
secondary
#CAC696
accent
#CB51D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4751BD

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

Preview Lab → · Contrast checker → · Palette generator →

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