#4B38CD#4B38CD

#4B38CD is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.6% C 0.217 H 279.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4B38CD
RGBrgb(75, 56, 205)
HSLhsl(248, 60%, 51%)
HSVhsv(248, 73%, 80%)
CMYKcmyk(63.4%, 72.7%, 0%, 19.6%)
CIE-LABlab(35.46, 50.37, -73.98)
CIE-LCHlch(35.46, 89.50, 304.25°)
OKLaboklab(46.55% 0.0362 -0.2135)
OKLCHoklch(46.55% 0.217 279.6)
XYZxyz(15.3318, 8.7308, 58.6230)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38CD #BACD38
analogous
#386FCD #4B38CD #9538CD
triadic
#4B38CD #CD4B38 #38CD4B
tetradic
#4B38CD #CD386F #BACD38 #38CD95
square
#4B38CD #CD386F #BACD38 #38CD95
split-complementary
#4B38CD #CD9538 #6FCD38
monochromatic
#261C6F #3728A0 #4B38CD #7769D9 #A39AE6

Accessibility & contrast

On white

7.65
#4B38CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4B38CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38CD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38CD#FFFFFF#000000##FFFFFF
##4B38CD1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004ECA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b38cd;
/* rgb */ color: rgb(75, 56, 205);
/* oklch */ color: oklch(46.6% 0.217 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d71de',
    500: '#4b38cd',
    950: '#000000',
  },
}
SCSS
$custom: #4b38cd;
$custom-light: #8d71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38cd",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 247.651,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.21654,
    "h": 279.6
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#4B38CD
secondary
#C9D18F
accent
#E345CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4B38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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