#4A38CC#4A38CC

#4A38CC is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.4% C 0.216 H 279.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4A38CC
RGBrgb(74, 56, 204)
HSLhsl(247, 59%, 51%)
HSVhsv(247, 73%, 80%)
CMYKcmyk(63.7%, 72.5%, 0%, 20%)
CIE-LABlab(35.29, 49.94, -73.69)
CIE-LCHlch(35.29, 89.01, 304.13°)
OKLaboklab(46.38% 0.035 -0.2127)
OKLCHoklch(46.38% 0.216 279.4)
XYZxyz(15.1338, 8.6426, 57.9857)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38CC #BACC38
analogous
#3870CC #4A38CC #9438CC
triadic
#4A38CC #CC4A38 #38CC4A
tetradic
#4A38CC #CC3870 #BACC38 #38CC94
square
#4A38CC #CC3870 #BACC38 #38CC94
split-complementary
#4A38CC #CC9438 #70CC38
monochromatic
#261C6E #37299E #4A38CC #7669D8 #A399E5

Accessibility & contrast

On white

7.70
#4A38CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4A38CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38CC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38CC#FFFFFF#000000##FFFFFF
##4A38CC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a38cc;
/* rgb */ color: rgb(74, 56, 204);
/* oklch */ color: oklch(46.4% 0.216 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c71dd',
    500: '#4a38cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a38cc;
$custom-light: #8c71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38cc",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 247.297,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.21554,
    "h": 279.4
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A38CC

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

Preview Lab → · Contrast checker → · Palette generator →

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