#4B31DB#4B31DB

#4B31DB is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 47.1% C 0.239 H 278.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4B31DB
RGBrgb(75, 49, 219)
HSLhsl(249, 70%, 53%)
HSVhsv(249, 78%, 86%)
CMYKcmyk(65.8%, 77.6%, 0%, 14.1%)
CIE-LABlab(35.61, 58.06, -81.82)
CIE-LCHlch(35.61, 100.33, 305.36°)
OKLaboklab(47.07% 0.0369 -0.2363)
OKLCHoklch(47.07% 0.239 278.9)
XYZxyz(16.7820, 8.8055, 67.8194)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B31DB #C1DB31
analogous
#316CDB #4B31DB #A031DB
triadic
#4B31DB #DB4B31 #31DB4B
tetradic
#4B31DB #DB316C #C1DB31 #31DBA0
square
#4B31DB #DB316C #C1DB31 #31DBA0
split-complementary
#4B31DB #DBA031 #6CDB31
monochromatic
#25167C #351FB0 #4B31DB #7965E4 #A699ED

Accessibility & contrast

On white

7.60
#4B31DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4B31DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B31DB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B31DB#FFFFFF#000000##FFFFFF
##4B31DB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#004DD8
Tritanopia (blue-blind)
#006486
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4b31db;
/* rgb */ color: rgb(75, 49, 219);
/* oklch */ color: oklch(47.1% 0.239 278.9);
Tailwind
colors: {
  custom: {
    50: '#906ee8',
    500: '#4b31db',
    950: '#000000',
  },
}
SCSS
$custom: #4b31db;
$custom-light: #906ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b31db",
  "rgb": {
    "r": 75,
    "g": 49,
    "b": 219
  },
  "hsl": {
    "h": 249.176,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47068,
    "c": 0.23917,
    "h": 278.9
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#4B31DB
secondary
#CED98F
accent
#ED3BD2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4B31DB

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

Preview Lab → · Contrast checker → · Palette generator →

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