#4751DF#4751DF

#4751DF is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.212 H 273.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4751DF
RGBrgb(71, 81, 223)
HSLhsl(236, 70%, 58%)
HSVhsv(236, 68%, 87%)
CMYKcmyk(68.2%, 63.7%, 0%, 12.5%)
CIE-LABlab(42.08, 41.28, -73.48)
CIE-LCHlch(42.08, 84.28, 299.32°)
OKLaboklab(51.74% 0.0119 -0.2121)
OKLCHoklch(51.74% 0.212 273.2)
XYZxyz(18.8558, 12.5504, 71.2265)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751DF #DFD547
analogous
#479DDF #4751DF #8947DF
triadic
#4751DF #DF4751 #51DF47
tetradic
#4751DF #DF479D #DFD547 #47DF89
square
#4751DF #DF479D #DFD547 #47DF89
split-complementary
#4751DF #DF8947 #9DDF47
monochromatic
#192192 #222DC6 #4751DF #7B82E8 #AFB4F1

Accessibility & contrast

On white

5.98
#4751DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4751DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751DF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751DF#FFFFFF#000000##FFFFFF
##4751DF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4751df;
/* rgb */ color: rgb(71, 81, 223);
/* oklch */ color: oklch(51.7% 0.212 273.2);
Tailwind
colors: {
  custom: {
    50: '#8d82ea',
    500: '#4751df',
    950: '#000000',
  },
}
SCSS
$custom: #4751df;
$custom-light: #8d82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4751df",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 236.053,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51739,
    "c": 0.21247,
    "h": 273.2
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#4751DF
secondary
#DFDBA2
accent
#E13BED
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4751DF

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

Preview Lab → · Contrast checker → · Palette generator →

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