#4751EA#4751EA

#4751EA is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.226 H 272.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4751EA
RGBrgb(71, 81, 234)
HSLhsl(236, 80%, 60%)
HSVhsv(236, 70%, 92%)
CMYKcmyk(69.7%, 65.4%, 0%, 8.2%)
CIE-LABlab(43.01, 44.96, -78.20)
CIE-LCHlch(43.01, 90.20, 299.90°)
OKLaboklab(52.7% 0.011 -0.226)
OKLCHoklch(52.7% 0.226 272.8)
XYZxyz(20.3873, 13.1630, 79.2922)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4751EA #EAE047
analogous
#47A3EA #4751EA #8F47EA
triadic
#4751EA #EA4751 #51EA47
tetradic
#4751EA #EA47A3 #EAE047 #47EA8F
square
#4751EA #EA47A3 #EAE047 #47EA8F
split-complementary
#4751EA #EA8F47 #A3EA47
monochromatic
#131CA4 #1925DB #4751EA #7E85F0 #B5B9F7

Accessibility & contrast

On white

5.78
#4751EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4751EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4751EA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4751EA#FFFFFF#000000##FFFFFF
##4751EA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4751ea;
/* rgb */ color: rgb(71, 81, 234);
/* oklch */ color: oklch(52.7% 0.226 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f82f2',
    500: '#4751ea',
    950: '#000000',
  },
}
SCSS
$custom: #4751ea;
$custom-light: #8f82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4751ea",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 236.319,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.22623,
    "h": 272.8
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#4751EA
secondary
#E6E2A7
accent
#EA32F6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4751EA

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

Preview Lab → · Contrast checker → · Palette generator →

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