#4850D4#4850D4

#4850D4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.199 H 274.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4850D4
RGBrgb(72, 80, 212)
HSLhsl(237, 62%, 56%)
HSVhsv(237, 66%, 83%)
CMYKcmyk(66%, 62.3%, 0%, 16.9%)
CIE-LABlab(41.00, 38.31, -68.94)
CIE-LCHlch(41.00, 78.87, 299.06°)
OKLaboklab(50.69% 0.0144 -0.1988)
OKLCHoklch(50.69% 0.199 274.1)
XYZxyz(17.4209, 11.8669, 63.6471)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4850D4 #D4CC48
analogous
#4896D4 #4850D4 #8648D4
triadic
#4850D4 #D44850 #50D448
tetradic
#4850D4 #D44896 #D4CC48 #48D486
square
#4850D4 #D44896 #D4CC48 #48D486
split-complementary
#4850D4 #D48648 #96D448
monochromatic
#1F2483 #2A32B4 #4850D4 #7A7FE0 #ABAFEB

Accessibility & contrast

On white

6.22
#4850D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4850D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4850D4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4850D4#FFFFFF#000000##FFFFFF
##4850D41.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4850d4;
/* rgb */ color: rgb(72, 80, 212);
/* oklch */ color: oklch(50.7% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b81e2',
    500: '#4850d4',
    950: '#000000',
  },
}
SCSS
$custom: #4850d4;
$custom-light: #8b81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4850d4",
  "rgb": {
    "r": 72,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 236.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.19933,
    "h": 274.1
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#4850D4
secondary
#D9D69F
accent
#DC43E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4850D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4850D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva