#4A38D0#4A38D0

#4A38D0 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.8% C 0.220 H 278.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4A38D0
RGBrgb(74, 56, 208)
HSLhsl(247, 62%, 52%)
HSVhsv(247, 73%, 82%)
CMYKcmyk(64.4%, 73.1%, 0%, 18.4%)
CIE-LABlab(35.67, 51.16, -75.38)
CIE-LCHlch(35.67, 91.10, 304.17°)
OKLaboklab(46.77% 0.0342 -0.2176)
OKLCHoklch(46.77% 0.22 278.9)
XYZxyz(15.6197, 8.8370, 60.5449)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38D0 #BED038
analogous
#3872D0 #4A38D0 #9638D0
triadic
#4A38D0 #D04A38 #38D04A
tetradic
#4A38D0 #D03872 #BED038 #38D096
square
#4A38D0 #D03872 #BED038 #38D096
split-complementary
#4A38D0 #D09638 #72D038
monochromatic
#251B73 #3627A4 #4A38D0 #776ADC #A49BE7

Accessibility & contrast

On white

7.59
#4A38D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4A38D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38D0
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38D0#FFFFFF#000000##FFFFFF
##4A38D01.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#004ECD
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a38d0;
/* rgb */ color: rgb(74, 56, 208);
/* oklch */ color: oklch(46.8% 0.220 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d71e0',
    500: '#4a38d0',
    950: '#000000',
  },
}
SCSS
$custom: #4a38d0;
$custom-light: #8d71e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38d0",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 247.105,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.22028,
    "h": 278.9
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#4A38D0
secondary
#CBD391
accent
#E543D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4A38D0

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

Preview Lab → · Contrast checker → · Palette generator →

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