#4751BF#4751BF

#4751BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.171 H 274.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4751BF
RGBrgb(71, 81, 191)
HSLhsl(235, 48%, 51%)
HSVhsv(235, 63%, 75%)
CMYKcmyk(62.8%, 57.6%, 0%, 25.1%)
CIE-LABlab(39.55, 30.39, -59.14)
CIE-LCHlch(39.55, 66.50, 297.20°)
OKLaboklab(49.09% 0.0129 -0.17)
OKLCHoklch(49.09% 0.171 274.3)
XYZxyz(14.9418, 10.9848, 50.6130)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751BF #BFB547
analogous
#478DBF #4751BF #7947BF
triadic
#4751BF #BF4751 #51BF47
tetradic
#4751BF #BF478D #BFB547 #47BF79
square
#4751BF #BF478D #BFB547 #47BF79
split-complementary
#4751BF #BF7947 #8DBF47
monochromatic
#242A68 #343C95 #4751BF #747CCF #A2A7DF

Accessibility & contrast

On white

6.57
#4751BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4751BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751BF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751BF#FFFFFF#000000##FFFFFF
##4751BF1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4751bf;
/* rgb */ color: rgb(71, 81, 191);
/* oklch */ color: oklch(49.1% 0.171 274.3);
Tailwind
colors: {
  custom: {
    50: '#8781d3',
    500: '#4751bf',
    950: '#000000',
  },
}
SCSS
$custom: #4751bf;
$custom-light: #8781d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4751bf",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 235,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49092,
    "c": 0.17053,
    "h": 274.3
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#4751BF
secondary
#CBC796
accent
#CD50D8
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4751BF

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

Preview Lab → · Contrast checker → · Palette generator →

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