#4B47DB#4B47DB

#4B47DB is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.218 H 276.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4B47DB
RGBrgb(75, 71, 219)
HSLhsl(242, 67%, 57%)
HSVhsv(242, 68%, 86%)
CMYKcmyk(65.8%, 67.6%, 0%, 14.1%)
CIE-LABlab(39.77, 46.39, -74.96)
CIE-LCHlch(39.77, 88.16, 301.75°)
OKLaboklab(50.03% 0.0238 -0.2164)
OKLCHoklch(50.03% 0.218 276.3)
XYZxyz(17.9369, 11.1152, 68.2043)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47DB #D7DB47
analogous
#478DDB #4B47DB #9547DB
triadic
#4B47DB #DB4B47 #47DB4B
tetradic
#4B47DB #DB478D #D7DB47 #47DB95
square
#4B47DB #DB478D #D7DB47 #47DB95
split-complementary
#4B47DB #DB9547 #8DDB47
monochromatic
#1E1B8C #2A25BF #4B47DB #7D7AE5 #AFADEF

Accessibility & contrast

On white

6.51
#4B47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4B47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47DB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47DB#FFFFFF#000000##FFFFFF
##4B47DB1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b47db;
/* rgb */ color: rgb(75, 71, 219);
/* oklch */ color: oklch(50.0% 0.218 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e7be7',
    500: '#4b47db',
    950: '#000000',
  },
}
SCSS
$custom: #4b47db;
$custom-light: #8e7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47db",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 241.622,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.21771,
    "h": 276.3
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#4B47DB
secondary
#DBDDA1
accent
#EA3EE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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