#4855BA#4855BA

#4855BA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.158 H 273.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4855BA
RGBrgb(72, 85, 186)
HSLhsl(233, 45%, 51%)
HSVhsv(233, 61%, 73%)
CMYKcmyk(61.3%, 54.3%, 0%, 27.1%)
CIE-LABlab(40.28, 26.31, -55.05)
CIE-LCHlch(40.28, 61.01, 295.54°)
OKLaboklab(49.53% 0.01 -0.1579)
OKLCHoklch(49.53% 0.158 273.6)
XYZxyz(14.7810, 11.4187, 47.8700)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855BA #BAAD48
analogous
#488EBA #4855BA #7448BA
triadic
#4855BA #BA4855 #55BA48
tetradic
#4855BA #BA488E #BAAD48 #48BA74
square
#4855BA #BA488E #BAAD48 #48BA74
split-complementary
#4855BA #BA7448 #8EBA48
monochromatic
#252C62 #36408F #4855BA #747ECB #A1A8DC

Accessibility & contrast

On white

6.39
#4855BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4855BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855BA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855BA#FFFFFF#000000##FFFFFF
##4855BA1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4855ba;
/* rgb */ color: rgb(72, 85, 186);
/* oklch */ color: oklch(49.5% 0.158 273.6);
Tailwind
colors: {
  custom: {
    50: '#8684cf',
    500: '#4855ba',
    950: '#000000',
  },
}
SCSS
$custom: #4855ba;
$custom-light: #8684cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4855ba",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 233.158,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.15824,
    "h": 273.6
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#4855BA
secondary
#C8C296
accent
#C653D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4855BA

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

Preview Lab → · Contrast checker → · Palette generator →

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