#4851D2#4851D2

#4851D2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.196 H 274.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4851D2
RGBrgb(72, 81, 210)
HSLhsl(236, 61%, 55%)
HSVhsv(236, 66%, 82%)
CMYKcmyk(65.7%, 61.4%, 0%, 17.6%)
CIE-LABlab(41.08, 37.02, -67.67)
CIE-LCHlch(41.08, 77.14, 298.68°)
OKLaboklab(50.69% 0.0137 -0.1951)
OKLCHoklch(50.69% 0.196 274)
XYZxyz(17.2439, 11.9142, 62.3512)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4851D2 #D2C948
analogous
#4896D2 #4851D2 #8448D2
triadic
#4851D2 #D24851 #51D248
tetradic
#4851D2 #D24896 #D2C948 #48D284
square
#4851D2 #D24896 #D2C948 #48D284
split-complementary
#4851D2 #D28448 #96D248
monochromatic
#202680 #2C34B1 #4851D2 #7980DE #AAAEEA

Accessibility & contrast

On white

6.21
#4851D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4851D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4851D2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4851D2#FFFFFF#000000##FFFFFF
##4851D21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4851d2;
/* rgb */ color: rgb(72, 81, 210);
/* oklch */ color: oklch(50.7% 0.196 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b82e1',
    500: '#4851d2',
    950: '#000000',
  },
}
SCSS
$custom: #4851d2;
$custom-light: #8b82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4851d2",
  "rgb": {
    "r": 72,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 236.087,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.19555,
    "h": 274
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#4851D2
secondary
#D8D49E
accent
#D944E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4851D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4851D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva