#4847BE#4847BE

#4847BE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.181 H 277.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4847BE
RGBrgb(72, 71, 190)
HSLhsl(241, 48%, 51%)
HSVhsv(241, 63%, 75%)
CMYKcmyk(62.1%, 62.6%, 0%, 25.5%)
CIE-LABlab(37.12, 36.47, -62.52)
CIE-LCHlch(37.12, 72.38, 300.25°)
OKLaboklab(47.29% 0.023 -0.18)
OKLCHoklch(47.29% 0.181 277.3)
XYZxyz(14.2170, 9.6008, 49.8092)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847BE #BDBE47
analogous
#4781BE #4847BE #8347BE
triadic
#4847BE #BE4847 #47BE48
tetradic
#4847BE #BE4781 #BDBE47 #47BE83
square
#4847BE #BE4781 #BDBE47 #47BE83
split-complementary
#4847BE #BE8347 #81BE47
monochromatic
#252466 #353494 #4847BE #7574CE #A2A1DE

Accessibility & contrast

On white

7.19
#4847BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4847BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847BE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847BE#FFFFFF#000000##FFFFFF
##4847BE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4847be;
/* rgb */ color: rgb(72, 71, 190);
/* oklch */ color: oklch(47.3% 0.181 277.3);
Tailwind
colors: {
  custom: {
    50: '#887ad3',
    500: '#4847be',
    950: '#000000',
  },
}
SCSS
$custom: #4847be;
$custom-light: #887ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4847be",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 240.504,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.18148,
    "h": 277.3
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#4847BE
secondary
#CACB96
accent
#D750D6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4847BE

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

Preview Lab → · Contrast checker → · Palette generator →

#4847BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva