#4B47BB#4B47BB

#4B47BB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.177 H 278.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4B47BB
RGBrgb(75, 71, 187)
HSLhsl(242, 46%, 51%)
HSVhsv(242, 62%, 73%)
CMYKcmyk(59.9%, 62%, 0%, 26.7%)
CIE-LABlab(37.09, 35.96, -60.79)
CIE-LCHlch(37.09, 70.63, 300.61°)
OKLaboklab(47.25% 0.0268 -0.1748)
OKLCHoklch(47.25% 0.177 278.7)
XYZxyz(14.1217, 9.5892, 48.1108)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47BB #B7BB47
analogous
#477DBB #4B47BB #8547BB
triadic
#4B47BB #BB4B47 #47BB4B
tetradic
#4B47BB #BB477D #B7BB47 #47BB85
square
#4B47BB #BB477D #B7BB47 #47BB85
split-complementary
#4B47BB #BB8547 #7DBB47
monochromatic
#272563 #383590 #4B47BB #7774CC #A2A0DC

Accessibility & contrast

On white

7.20
#4B47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4B47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B47BB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47BB#FFFFFF#000000##FFFFFF
##4B47BB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4b47bb;
/* rgb */ color: rgb(75, 71, 187);
/* oklch */ color: oklch(47.3% 0.177 278.7);
Tailwind
colors: {
  custom: {
    50: '#897ad0',
    500: '#4b47bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b47bb;
$custom-light: #897ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47bb",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 242.069,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.17689,
    "h": 278.7
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#4B47BB
secondary
#C7C995
accent
#D652D1
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4B47BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4B47BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva