#4A38CE#4A38CE

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

Color values

HEX#4A38CE
RGBrgb(74, 56, 206)
HSLhsl(247, 60%, 51%)
HSVhsv(247, 73%, 81%)
CMYKcmyk(64.1%, 72.8%, 0%, 19.2%)
CIE-LABlab(35.48, 50.55, -74.54)
CIE-LCHlch(35.48, 90.06, 304.15°)
OKLaboklab(46.57% 0.0346 -0.2151)
OKLCHoklch(46.57% 0.218 279.1)
XYZxyz(15.3752, 8.7392, 59.2571)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38CE #BCCE38
analogous
#3871CE #4A38CE #9538CE
triadic
#4A38CE #CE4A38 #38CE4A
tetradic
#4A38CE #CE3871 #BCCE38 #38CE95
square
#4A38CE #CE3871 #BCCE38 #38CE95
split-complementary
#4A38CE #CE9538 #71CE38
monochromatic
#261C70 #3628A1 #4A38CE #7769DA #A39AE6

Accessibility & contrast

On white

7.64
#4A38CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A38CE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38CE#FFFFFF#000000##FFFFFF
##4A38CE1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#004DCB
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a38ce;
/* rgb */ color: rgb(74, 56, 206);
/* oklch */ color: oklch(46.6% 0.218 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d71de',
    500: '#4a38ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a38ce;
$custom-light: #8d71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38ce",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 247.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.21792,
    "h": 279.1
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#4A38CE
secondary
#CAD290
accent
#E444D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4A38CE

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

Preview Lab → · Contrast checker → · Palette generator →

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