#4B38AC#4B38AC

#4B38AC is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.176 H 283.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4B38AC
RGBrgb(75, 56, 172)
HSLhsl(250, 51%, 45%)
HSVhsv(250, 67%, 67%)
CMYKcmyk(56.4%, 67.4%, 0%, 32.5%)
CIE-LABlab(32.48, 40.16, -59.42)
CIE-LCHlch(32.48, 71.72, 304.05°)
OKLaboklab(43.52% 0.042 -0.1709)
OKLCHoklch(43.52% 0.176 283.8)
XYZxyz(11.7599, 7.3021, 39.8115)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38AC #99AC38
analogous
#385FAC #4B38AC #8538AC
triadic
#4B38AC #AC4B38 #38AC4B
tetradic
#4B38AC #AC385F #99AC38 #38AC85
square
#4B38AC #AC385F #99AC38 #38AC85
split-complementary
#4B38AC #AC8538 #5FAC38
monochromatic
#231A50 #37297E #4B38AC #6B58C9 #9487D8

Accessibility & contrast

On white

8.53
#4B38AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4B38AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38AC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38AC#FFFFFF#000000##FFFFFF
##4B38AC1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#1C566D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b38ac;
/* rgb */ color: rgb(75, 56, 172);
/* oklch */ color: oklch(43.5% 0.176 283.8);
Tailwind
colors: {
  custom: {
    50: '#8770c6',
    500: '#4b38ac',
    950: '#000000',
  },
}
SCSS
$custom: #4b38ac;
$custom-light: #8770c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38ac",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 249.828,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.17595,
    "h": 283.8
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#4B38AC
secondary
#B7C27E
accent
#DA4DC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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