#4B31D0#4B31D0

#4B31D0 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 46.0% C 0.227 H 280.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4B31D0
RGBrgb(75, 49, 208)
HSLhsl(250, 63%, 50%)
HSVhsv(250, 76%, 82%)
CMYKcmyk(63.9%, 76.4%, 0%, 18.4%)
CIE-LABlab(34.49, 54.85, -77.32)
CIE-LCHlch(34.49, 94.80, 305.35°)
OKLaboklab(45.95% 0.0398 -0.2232)
OKLCHoklch(45.95% 0.227 280.1)
XYZxyz(15.3815, 8.2453, 60.4432)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B31D0 #B6D031
analogous
#3167D0 #4B31D0 #9A31D0
triadic
#4B31D0 #D04B31 #31D04B
tetradic
#4B31D0 #D03167 #B6D031 #31D09A
square
#4B31D0 #D03167 #B6D031 #31D09A
split-complementary
#4B31D0 #D09A31 #67D031
monochromatic
#27196E #38249F #4B31D0 #7763DB #A295E7

Accessibility & contrast

On white

7.93
#4B31D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4B31D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B31D0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B31D0#FFFFFF#000000##FFFFFF
##4B31D01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D4
Deuteranopia (green-blind)
#004BCD
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b31d0;
/* rgb */ color: rgb(75, 49, 208);
/* oklch */ color: oklch(46.0% 0.227 280.1);
Tailwind
colors: {
  custom: {
    50: '#8e6de0',
    500: '#4b31d0',
    950: '#000000',
  },
}
SCSS
$custom: #4b31d0;
$custom-light: #8e6de0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b31d0",
  "rgb": {
    "r": 75,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 249.811,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.22671,
    "h": 280.1
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#4B31D0
secondary
#C6D28B
accent
#E642CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B31D0

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

Preview Lab → · Contrast checker → · Palette generator →

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