#4B38BD#4B38BD

#4B38BD is a mid, vivid blue. Relative luminance 0.080; OKLCH L 45.0% C 0.197 H 281.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4B38BD
RGBrgb(75, 56, 189)
HSLhsl(249, 54%, 48%)
HSVhsv(249, 70%, 74%)
CMYKcmyk(60.3%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.98, 45.45, -67.06)
CIE-LCHlch(33.98, 81.01, 304.12°)
OKLaboklab(45.05% 0.0393 -0.1933)
OKLCHoklch(45.05% 0.197 281.5)
XYZxyz(13.4983, 7.9974, 48.9666)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38BD #AABD38
analogous
#3868BD #4B38BD #8D38BD
triadic
#4B38BD #BD4B38 #38BD4B
tetradic
#4B38BD #BD3868 #AABD38 #38BD8D
square
#4B38BD #BD3868 #AABD38 #38BD8D
split-complementary
#4B38BD #BD8D38 #68BD38
monochromatic
#261C5F #382A8E #4B38BD #7262D0 #9C91DE

Accessibility & contrast

On white

8.08
#4B38BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4B38BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38BD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38BD#FFFFFF#000000##FFFFFF
##4B38BD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4b38bd;
/* rgb */ color: rgb(75, 56, 189);
/* oklch */ color: oklch(45.0% 0.197 281.5);
Tailwind
colors: {
  custom: {
    50: '#8a71d2',
    500: '#4b38bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b38bd;
$custom-light: #8a71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38bd",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 248.571,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.19722,
    "h": 281.5
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#4B38BD
secondary
#C0C987
accent
#DE4AC9
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4B38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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