#4751DB#4751DB

#4751DB is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.4% C 0.207 H 273.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4751DB
RGBrgb(71, 81, 219)
HSLhsl(236, 67%, 57%)
HSVhsv(236, 68%, 86%)
CMYKcmyk(67.6%, 63%, 0%, 14.1%)
CIE-LABlab(41.75, 39.93, -71.74)
CIE-LCHlch(41.75, 82.10, 299.10°)
OKLaboklab(51.4% 0.0121 -0.207)
OKLCHoklch(51.4% 0.207 273.4)
XYZxyz(18.3229, 12.3372, 68.4198)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751DB #DBD147
analogous
#479BDB #4751DB #8747DB
triadic
#4751DB #DB4751 #51DB47
tetradic
#4751DB #DB479B #DBD147 #47DB87
square
#4751DB #DB479B #DBD147 #47DB87
split-complementary
#4751DB #DB8747 #9BDB47
monochromatic
#1B238C #2530BF #4751DB #7A81E5 #ADB2EF

Accessibility & contrast

On white

6.06
#4751DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4751DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751DB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751DB#FFFFFF#000000##FFFFFF
##4751DB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4751db;
/* rgb */ color: rgb(71, 81, 219);
/* oklch */ color: oklch(51.4% 0.207 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c82e7',
    500: '#4751db',
    950: '#000000',
  },
}
SCSS
$custom: #4751db;
$custom-light: #8c82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4751db",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 235.946,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.2074,
    "h": 273.4
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#4751DB
secondary
#DDD9A1
accent
#DF3EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4751DB

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

Preview Lab → · Contrast checker → · Palette generator →

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