#4851D3#4851D3

#4851D3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.197 H 274.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4851D3
RGBrgb(72, 81, 211)
HSLhsl(236, 61%, 55%)
HSVhsv(236, 66%, 83%)
CMYKcmyk(65.9%, 61.6%, 0%, 17.3%)
CIE-LABlab(41.16, 37.36, -68.11)
CIE-LCHlch(41.16, 77.69, 298.74°)
OKLaboklab(50.78% 0.0136 -0.1964)
OKLCHoklch(50.78% 0.197 274)
XYZxyz(17.3689, 11.9642, 63.0094)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4851D3 #D3CA48
analogous
#4896D3 #4851D3 #8448D3
triadic
#4851D3 #D34851 #51D348
tetradic
#4851D3 #D34896 #D3CA48 #48D384
square
#4851D3 #D34896 #D3CA48 #48D384
split-complementary
#4851D3 #D38448 #96D348
monochromatic
#1F2581 #2B34B3 #4851D3 #7980DF #ABAFEB

Accessibility & contrast

On white

6.19
#4851D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4851D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4851D3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4851D3#FFFFFF#000000##FFFFFF
##4851D31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4851d3;
/* rgb */ color: rgb(72, 81, 211);
/* oklch */ color: oklch(50.8% 0.197 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b82e1',
    500: '#4851d3',
    950: '#000000',
  },
}
SCSS
$custom: #4851d3;
$custom-light: #8b82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4851d3",
  "rgb": {
    "r": 72,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 236.115,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.19684,
    "h": 274
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#4851D3
secondary
#D8D59E
accent
#DA43E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4851D3

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

Preview Lab → · Contrast checker → · Palette generator →

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