#4851DB#4851DB

#4851DB is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.5% C 0.207 H 273.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4851DB
RGBrgb(72, 81, 219)
HSLhsl(236, 67%, 57%)
HSVhsv(236, 67%, 86%)
CMYKcmyk(67.1%, 63%, 0%, 14.1%)
CIE-LABlab(41.81, 40.06, -71.64)
CIE-LCHlch(41.81, 82.08, 299.21°)
OKLaboklab(51.45% 0.0132 -0.2067)
OKLCHoklch(51.45% 0.207 273.7)
XYZxyz(18.3968, 12.3754, 68.4233)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4851DB #DBD248
analogous
#489ADB #4851DB #8948DB
triadic
#4851DB #DB4851 #51DB48
tetradic
#4851DB #DB489A #DBD248 #48DB89
square
#4851DB #DB489A #DBD248 #48DB89
split-complementary
#4851DB #DB8948 #9ADB48
monochromatic
#1C238D #262FC0 #4851DB #7B82E5 #AEB2EF

Accessibility & contrast

On white

6.04
#4851DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4851DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4851DB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4851DB#FFFFFF#000000##FFFFFF
##4851DB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4851db;
/* rgb */ color: rgb(72, 81, 219);
/* oklch */ color: oklch(51.5% 0.207 273.7);
Tailwind
colors: {
  custom: {
    50: '#8c82e7',
    500: '#4851db',
    950: '#000000',
  },
}
SCSS
$custom: #4851db;
$custom-light: #8c82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4851db",
  "rgb": {
    "r": 72,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 236.327,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.20714,
    "h": 273.7
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4851DB

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

Preview Lab → · Contrast checker → · Palette generator →

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