#4751D1#4751D1

#4751D1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.194 H 273.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4751D1
RGBrgb(71, 81, 209)
HSLhsl(236, 60%, 55%)
HSVhsv(236, 66%, 82%)
CMYKcmyk(66%, 61.2%, 0%, 18%)
CIE-LABlab(40.94, 36.54, -67.33)
CIE-LCHlch(40.94, 76.60, 298.49°)
OKLaboklab(50.55% 0.0126 -0.1941)
OKLCHoklch(50.55% 0.194 273.7)
XYZxyz(17.0458, 11.8264, 61.6937)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751D1 #D1C747
analogous
#4796D1 #4751D1 #8247D1
triadic
#4751D1 #D14751 #51D147
tetradic
#4751D1 #D14796 #D1C747 #47D182
square
#4751D1 #D14796 #D1C747 #47D182
split-complementary
#4751D1 #D18247 #96D147
monochromatic
#20267E #2C35AF #4751D1 #787FDD #A9AEE9

Accessibility & contrast

On white

6.24
#4751D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4751D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751D1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751D1#FFFFFF#000000##FFFFFF
##4751D11.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4751d1;
/* rgb */ color: rgb(71, 81, 209);
/* oklch */ color: oklch(50.5% 0.194 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a82e0',
    500: '#4751d1',
    950: '#000000',
  },
}
SCSS
$custom: #4751d1;
$custom-light: #8a82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4751d1",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 235.652,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.19449,
    "h": 273.7
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#4751D1
secondary
#D7D39D
accent
#D845E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4751D1

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

Preview Lab → · Contrast checker → · Palette generator →

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