#4B38AE#4B38AE

#4B38AE is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.178 H 283.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4B38AE
RGBrgb(75, 56, 174)
HSLhsl(250, 51%, 45%)
HSVhsv(250, 68%, 68%)
CMYKcmyk(56.9%, 67.8%, 0%, 31.8%)
CIE-LABlab(32.66, 40.79, -60.34)
CIE-LCHlch(32.66, 72.83, 304.06°)
OKLaboklab(43.69% 0.0417 -0.1735)
OKLCHoklch(43.69% 0.178 283.5)
XYZxyz(11.9535, 7.3795, 40.8307)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38AE #9BAE38
analogous
#3860AE #4B38AE #8638AE
triadic
#4B38AE #AE4B38 #38AE4B
tetradic
#4B38AE #AE3860 #9BAE38 #38AE86
square
#4B38AE #AE3860 #9BAE38 #38AE86
split-complementary
#4B38AE #AE8638 #60AE38
monochromatic
#231A51 #372980 #4B38AE #6C59CA #9588D9

Accessibility & contrast

On white

8.48
#4B38AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4B38AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38AE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38AE#FFFFFF#000000##FFFFFF
##4B38AE1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#19566E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b38ae;
/* rgb */ color: rgb(75, 56, 174);
/* oklch */ color: oklch(43.7% 0.178 283.5);
Tailwind
colors: {
  custom: {
    50: '#8770c7',
    500: '#4b38ae',
    950: '#000000',
  },
}
SCSS
$custom: #4b38ae;
$custom-light: #8770c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38ae",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 249.661,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.17849,
    "h": 283.5
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#4B38AE
secondary
#B8C37F
accent
#DB4DC4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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