#4B38D3#4B38D3

#4B38D3 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.1% C 0.224 H 279.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4B38D3
RGBrgb(75, 56, 211)
HSLhsl(247, 64%, 52%)
HSVhsv(247, 73%, 83%)
CMYKcmyk(64.5%, 73.5%, 0%, 17.3%)
CIE-LABlab(36.03, 52.19, -76.51)
CIE-LCHlch(36.03, 92.62, 304.30°)
OKLaboklab(47.13% 0.0349 -0.2209)
OKLCHoklch(47.13% 0.224 279)
XYZxyz(16.0699, 9.0260, 62.5107)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38D3 #C0D338
analogous
#3872D3 #4B38D3 #9938D3
triadic
#4B38D3 #D34B38 #38D34B
tetradic
#4B38D3 #D33872 #C0D338 #38D399
square
#4B38D3 #D33872 #C0D338 #38D399
split-complementary
#4B38D3 #D39938 #72D338
monochromatic
#251A76 #3525A9 #4B38D3 #786ADE #A69CE9

Accessibility & contrast

On white

7.49
#4B38D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4B38D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38D3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38D3#FFFFFF#000000##FFFFFF
##4B38D31.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4b38d3;
/* rgb */ color: rgb(75, 56, 211);
/* oklch */ color: oklch(47.1% 0.224 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e71e2',
    500: '#4b38d3',
    950: '#000000',
  },
}
SCSS
$custom: #4b38d3;
$custom-light: #8e71e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38d3",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 247.355,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.22363,
    "h": 279
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#4B38D3
secondary
#CDD592
accent
#E741D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4B38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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