#4751C8#4751C8

#4751C8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.183 H 274.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4751C8
RGBrgb(71, 81, 200)
HSLhsl(235, 54%, 53%)
HSVhsv(235, 65%, 78%)
CMYKcmyk(64.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(40.23, 33.47, -63.27)
CIE-LCHlch(40.23, 71.58, 297.88°)
OKLaboklab(49.81% 0.0128 -0.1822)
OKLCHoklch(49.81% 0.183 274)
XYZxyz(15.9628, 11.3932, 55.9903)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751C8 #C8BE47
analogous
#4791C8 #4751C8 #7D47C8
triadic
#4751C8 #C84751 #51C847
tetradic
#4751C8 #C84791 #C8BE47 #47C87D
square
#4751C8 #C84791 #C8BE47 #47C87D
split-complementary
#4751C8 #C87D47 #91C847
monochromatic
#222872 #3039A2 #4751C8 #767ED6 #A5AAE4

Accessibility & contrast

On white

6.40
#4751C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4751C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751C8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751C8#FFFFFF#000000##FFFFFF
##4751C81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4751c8;
/* rgb */ color: rgb(71, 81, 200);
/* oklch */ color: oklch(49.8% 0.183 274.0);
Tailwind
colors: {
  custom: {
    50: '#8882da',
    500: '#4751c8',
    950: '#000000',
  },
}
SCSS
$custom: #4751c8;
$custom-light: #8882da;
$custom-dark: #000000;
JSON
{
  "hex": "#4751c8",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 235.349,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.18263,
    "h": 274
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#4751C8
secondary
#D1CD9A
accent
#D24ADD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4751C8

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

Preview Lab → · Contrast checker → · Palette generator →

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