#4C38C0#4C38C0

#4C38C0 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.201 H 281.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4C38C0
RGBrgb(76, 56, 192)
HSLhsl(249, 55%, 49%)
HSVhsv(249, 71%, 75%)
CMYKcmyk(60.4%, 70.8%, 0%, 24.7%)
CIE-LABlab(34.33, 46.51, -68.24)
CIE-LCHlch(34.33, 82.58, 304.28°)
OKLaboklab(45.4% 0.0401 -0.1967)
OKLCHoklch(45.4% 0.201 281.5)
XYZxyz(13.9061, 8.1696, 50.7031)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C38C0 #ACC038
analogous
#3868C0 #4C38C0 #9038C0
triadic
#4C38C0 #C04C38 #38C04C
tetradic
#4C38C0 #C03868 #ACC038 #38C090
square
#4C38C0 #C03868 #ACC038 #38C090
split-complementary
#4C38C0 #C09038 #68C038
monochromatic
#261C61 #392A91 #4C38C0 #7464D2 #9E93DF

Accessibility & contrast

On white

7.97
#4C38C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4C38C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C38C0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C38C0#FFFFFF#000000##FFFFFF
##4C38C01.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c38c0;
/* rgb */ color: rgb(76, 56, 192);
/* oklch */ color: oklch(45.4% 0.201 281.5);
Tailwind
colors: {
  custom: {
    50: '#8b71d4',
    500: '#4c38c0',
    950: '#000000',
  },
}
SCSS
$custom: #4c38c0;
$custom-light: #8b71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c38c0",
  "rgb": {
    "r": 76,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 248.824,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.20072,
    "h": 281.5
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#4C38C0
secondary
#C1CB89
accent
#DE4AC8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4C38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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