#4A38DD#4A38DD

#4A38DD is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 48.0% C 0.235 H 277.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4A38DD
RGBrgb(74, 56, 221)
HSLhsl(247, 71%, 54%)
HSVhsv(247, 75%, 87%)
CMYKcmyk(66.5%, 74.7%, 0%, 13.3%)
CIE-LABlab(36.94, 55.11, -80.78)
CIE-LCHlch(36.94, 97.79, 304.30°)
OKLaboklab(48.04% 0.0314 -0.2334)
OKLCHoklch(48.04% 0.235 277.7)
XYZxyz(17.2851, 9.5032, 69.3160)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38DD #CBDD38
analogous
#3879DD #4A38DD #9C38DD
triadic
#4A38DD #DD4A38 #38DD4A
tetradic
#4A38DD #DD3879 #CBDD38 #38DD9C
square
#4A38DD #DD3879 #CBDD38 #38DD9C
split-complementary
#4A38DD #DD9C38 #79DD38
monochromatic
#231784 #301FB8 #4A38DD #7A6CE6 #A9A1EF

Accessibility & contrast

On white

7.24
#4A38DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4A38DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38DD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38DD#FFFFFF#000000##FFFFFF
##4A38DD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE2
Deuteranopia (green-blind)
#0050DA
Tritanopia (blue-blind)
#006888
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a38dd;
/* rgb */ color: rgb(74, 56, 221);
/* oklch */ color: oklch(48.0% 0.235 277.7);
Tailwind
colors: {
  custom: {
    50: '#9072e9',
    500: '#4a38dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a38dd;
$custom-light: #9072e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38dd",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 246.545,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4804,
    "c": 0.23547,
    "h": 277.7
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#4A38DD
secondary
#D4DB95
accent
#EE3ADA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4A38DD

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

Preview Lab → · Contrast checker → · Palette generator →

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