#4751D4#4751D4

#4751D4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.198 H 273.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4751D4
RGBrgb(71, 81, 212)
HSLhsl(236, 62%, 55%)
HSVhsv(236, 67%, 83%)
CMYKcmyk(66.5%, 61.8%, 0%, 16.9%)
CIE-LABlab(41.18, 37.56, -68.66)
CIE-LCHlch(41.18, 78.26, 298.68°)
OKLaboklab(50.8% 0.0125 -0.198)
OKLCHoklch(50.8% 0.198 273.6)
XYZxyz(17.4207, 11.9763, 63.6682)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751D4 #D4CA47
analogous
#4797D4 #4751D4 #8447D4
triadic
#4751D4 #D44751 #51D447
tetradic
#4751D4 #D44797 #D4CA47 #47D484
square
#4751D4 #D44797 #D4CA47 #47D484
split-complementary
#4751D4 #D48447 #97D447
monochromatic
#1E2582 #2A34B4 #4751D4 #7980E0 #AAAFEB

Accessibility & contrast

On white

6.18
#4751D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4751D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751D4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751D4#FFFFFF#000000##FFFFFF
##4751D41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4751d4;
/* rgb */ color: rgb(71, 81, 212);
/* oklch */ color: oklch(50.8% 0.198 273.6);
Tailwind
colors: {
  custom: {
    50: '#8b82e2',
    500: '#4751d4',
    950: '#000000',
  },
}
SCSS
$custom: #4751d4;
$custom-light: #8b82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4751d4",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 235.745,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.19839,
    "h": 273.6
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#4751D4
secondary
#D9D59E
accent
#DA43E5
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4751D4

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

Preview Lab → · Contrast checker → · Palette generator →

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