#4856DB#4856DB

#4856DB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.3% C 0.201 H 272.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4856DB
RGBrgb(72, 86, 219)
HSLhsl(234, 67%, 57%)
HSVhsv(234, 67%, 86%)
CMYKcmyk(67.1%, 60.7%, 0%, 14.1%)
CIE-LABlab(42.98, 37.00, -69.72)
CIE-LCHlch(42.98, 78.93, 297.95°)
OKLaboklab(52.32% 0.0095 -0.201)
OKLCHoklch(52.32% 0.201 272.7)
XYZxyz(18.7822, 13.1460, 68.5517)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856DB #DBCD48
analogous
#489FDB #4856DB #8448DB
triadic
#4856DB #DB4856 #56DB48
tetradic
#4856DB #DB489F #DBCD48 #48DB84
square
#4856DB #DB489F #DBCD48 #48DB84
split-complementary
#4856DB #DB8448 #9FDB48
monochromatic
#1C268D #2634C0 #4856DB #7B85E5 #AEB4EF

Accessibility & contrast

On white

5.79
#4856DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4856DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856DB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856DB#FFFFFF#000000##FFFFFF
##4856DB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4856db;
/* rgb */ color: rgb(72, 86, 219);
/* oklch */ color: oklch(52.3% 0.201 272.7);
Tailwind
colors: {
  custom: {
    50: '#8c85e7',
    500: '#4856db',
    950: '#000000',
  },
}
SCSS
$custom: #4856db;
$custom-light: #8c85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4856db",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 234.286,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.20127,
    "h": 272.7
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#4856DB
secondary
#DDD8A2
accent
#DA3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4856DB

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

Preview Lab → · Contrast checker → · Palette generator →

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