#4751CB#4751CB

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

Color values

HEX#4751CB
RGBrgb(71, 81, 203)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(65%, 60.1%, 0%, 20.4%)
CIE-LABlab(40.47, 34.50, -64.63)
CIE-LCHlch(40.47, 73.26, 298.09°)
OKLaboklab(50.06% 0.0128 -0.1862)
OKLCHoklch(50.06% 0.187 273.9)
XYZxyz(16.3169, 11.5348, 57.8549)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751CB #CBC147
analogous
#4793CB #4751CB #7F47CB
triadic
#4751CB #CB4751 #51CB47
tetradic
#4751CB #CB4793 #CBC147 #47CB7F
square
#4751CB #CB4793 #CBC147 #47CB7F
split-complementary
#4751CB #CB7F47 #93CB47
monochromatic
#212876 #2F38A6 #4751CB #777ED8 #A6ABE6

Accessibility & contrast

On white

6.35
#4751CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4751CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751CB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751CB#FFFFFF#000000##FFFFFF
##4751CB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4751cb;
/* rgb */ color: rgb(71, 81, 203);
/* oklch */ color: oklch(50.1% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#8982dc',
    500: '#4751cb',
    950: '#000000',
  },
}
SCSS
$custom: #4751cb;
$custom-light: #8982dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4751cb",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 235.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.18661,
    "h": 273.9
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#4751CB
secondary
#D3CF9B
accent
#D449DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4751CB

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

Preview Lab → · Contrast checker → · Palette generator →

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