#4751D8#4751D8

#4751D8 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.1% C 0.204 H 273.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4751D8
RGBrgb(71, 81, 216)
HSLhsl(236, 65%, 56%)
HSVhsv(236, 67%, 85%)
CMYKcmyk(67.1%, 62.5%, 0%, 15.3%)
CIE-LABlab(41.50, 38.91, -70.43)
CIE-LCHlch(41.50, 80.46, 298.92°)
OKLaboklab(51.14% 0.0123 -0.2032)
OKLCHoklch(51.14% 0.204 273.5)
XYZxyz(17.9315, 12.1807, 66.3586)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751D8 #D8CE47
analogous
#479AD8 #4751D8 #8647D8
triadic
#4751D8 #D84751 #51D847
tetradic
#4751D8 #D8479A #D8CE47 #47D886
square
#4751D8 #D8479A #D8CE47 #47D886
split-complementary
#4751D8 #D88647 #9AD847
monochromatic
#1D2488 #2732BA #4751D8 #7981E3 #ACB1ED

Accessibility & contrast

On white

6.11
#4751D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4751D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751D8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751D8#FFFFFF#000000##FFFFFF
##4751D81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4751d8;
/* rgb */ color: rgb(71, 81, 216);
/* oklch */ color: oklch(51.1% 0.204 273.5);
Tailwind
colors: {
  custom: {
    50: '#8b82e5',
    500: '#4751d8',
    950: '#000000',
  },
}
SCSS
$custom: #4751d8;
$custom-light: #8b82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4751d8",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 235.862,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.20355,
    "h": 273.5
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#4751D8
secondary
#DBD7A0
accent
#DC40E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4751D8

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

Preview Lab → · Contrast checker → · Palette generator →

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