#4855D4#4855D4

#4855D4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.193 H 273.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4855D4
RGBrgb(72, 85, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 66%, 83%)
CMYKcmyk(66%, 59.9%, 0%, 16.9%)
CIE-LABlab(42.20, 35.23, -67.00)
CIE-LCHlch(42.20, 75.70, 297.73°)
OKLaboklab(51.57% 0.0104 -0.1931)
OKLCHoklch(51.57% 0.193 273.1)
XYZxyz(17.8007, 12.6266, 63.7737)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855D4 #D4C748
analogous
#489BD4 #4855D4 #8148D4
triadic
#4855D4 #D44855 #55D448
tetradic
#4855D4 #D4489B #D4C748 #48D481
square
#4855D4 #D4489B #D4C748 #48D481
split-complementary
#4855D4 #D48148 #9BD448
monochromatic
#1F2883 #2A37B4 #4855D4 #7A83E0 #ABB1EB

Accessibility & contrast

On white

5.96
#4855D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4855D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855D4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855D4#FFFFFF#000000##FFFFFF
##4855D41.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4855d4;
/* rgb */ color: rgb(72, 85, 212);
/* oklch */ color: oklch(51.6% 0.193 273.1);
Tailwind
colors: {
  custom: {
    50: '#8b85e2',
    500: '#4855d4',
    950: '#000000',
  },
}
SCSS
$custom: #4855d4;
$custom-light: #8b85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4855d4",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 234.429,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.19335,
    "h": 273.1
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#4855D4
secondary
#D9D49F
accent
#D643E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4855D4

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

Preview Lab → · Contrast checker → · Palette generator →

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