#4751CC#4751CC

#4751CC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.188 H 273.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4751CC
RGBrgb(71, 81, 204)
HSLhsl(235, 57%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(65.2%, 60.3%, 0%, 20%)
CIE-LABlab(40.54, 34.84, -65.08)
CIE-LCHlch(40.54, 73.82, 298.16°)
OKLaboklab(50.14% 0.0128 -0.1875)
OKLCHoklch(50.14% 0.188 273.9)
XYZxyz(16.4364, 11.5826, 58.4845)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751CC #CCC247
analogous
#4794CC #4751CC #8047CC
triadic
#4751CC #CC4751 #51CC47
tetradic
#4751CC #CC4794 #CCC247 #47CC80
square
#4751CC #CC4794 #CCC247 #47CC80
split-complementary
#4751CC #CC8047 #94CC47
monochromatic
#212877 #2E37A7 #4751CC #777ED9 #A7ACE7

Accessibility & contrast

On white

6.33
#4751CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4751CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751CC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751CC#FFFFFF#000000##FFFFFF
##4751CC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4751cc;
/* rgb */ color: rgb(71, 81, 204);
/* oklch */ color: oklch(50.1% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#8982dc',
    500: '#4751cc',
    950: '#000000',
  },
}
SCSS
$custom: #4751cc;
$custom-light: #8982dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4751cc",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 235.489,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.18793,
    "h": 273.9
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#4751CC
secondary
#D4D09B
accent
#D448E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4751CC

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

Preview Lab → · Contrast checker → · Palette generator →

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