#4C38DF#4C38DF

#4C38DF is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.4% C 0.237 H 278.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4C38DF
RGBrgb(76, 56, 223)
HSLhsl(247, 72%, 55%)
HSVhsv(247, 75%, 87%)
CMYKcmyk(65.9%, 74.9%, 0%, 12.5%)
CIE-LABlab(37.28, 55.91, -81.35)
CIE-LCHlch(37.28, 98.71, 304.50°)
OKLaboklab(48.38% 0.0336 -0.235)
OKLCHoklch(48.38% 0.237 278.1)
XYZxyz(17.7096, 9.6911, 70.7350)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C38DF #CBDF38
analogous
#3877DF #4C38DF #A038DF
triadic
#4C38DF #DF4C38 #38DF4C
tetradic
#4C38DF #DF3877 #CBDF38 #38DFA0
square
#4C38DF #DF3877 #CBDF38 #38DFA0
split-complementary
#4C38DF #DFA038 #77DF38
monochromatic
#231687 #311EBC #4C38DF #7B6DE7 #ABA1F0

Accessibility & contrast

On white

7.15
#4C38DF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4C38DF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C38DF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C38DF#FFFFFF#000000##FFFFFF
##4C38DF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE4
Deuteranopia (green-blind)
#0051DC
Tritanopia (blue-blind)
#006989
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c38df;
/* rgb */ color: rgb(76, 56, 223);
/* oklch */ color: oklch(48.4% 0.237 278.1);
Tailwind
colors: {
  custom: {
    50: '#9172ea',
    500: '#4c38df',
    950: '#000000',
  },
}
SCSS
$custom: #4c38df;
$custom-light: #9172ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c38df",
  "rgb": {
    "r": 76,
    "g": 56,
    "b": 223
  },
  "hsl": {
    "h": 247.186,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.23737,
    "h": 278.1
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#4C38DF
secondary
#D4DD96
accent
#EF39D9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4C38DF

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

Preview Lab → · Contrast checker → · Palette generator →

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