#4C38BE#4C38BE

#4C38BE is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.2% C 0.198 H 281.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4C38BE
RGBrgb(76, 56, 190)
HSLhsl(249, 54%, 48%)
HSVhsv(249, 71%, 75%)
CMYKcmyk(60%, 70.5%, 0%, 25.5%)
CIE-LABlab(34.15, 45.90, -67.36)
CIE-LCHlch(34.15, 81.51, 304.27°)
OKLaboklab(45.22% 0.0405 -0.1941)
OKLCHoklch(45.22% 0.198 281.8)
XYZxyz(13.6860, 8.0816, 49.5439)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C38BE #AABE38
analogous
#3867BE #4C38BE #8F38BE
triadic
#4C38BE #BE4C38 #38BE4C
tetradic
#4C38BE #BE3867 #AABE38 #38BE8F
square
#4C38BE #BE3867 #AABE38 #38BE8F
split-complementary
#4C38BE #BE8F38 #67BE38
monochromatic
#261C5F #392A8F #4C38BE #7362D1 #9D92DF

Accessibility & contrast

On white

8.03
#4C38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C38BE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C38BE#FFFFFF#000000##FFFFFF
##4C38BE1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c38be;
/* rgb */ color: rgb(76, 56, 190);
/* oklch */ color: oklch(45.2% 0.198 281.8);
Tailwind
colors: {
  custom: {
    50: '#8b71d3',
    500: '#4c38be',
    950: '#000000',
  },
}
SCSS
$custom: #4c38be;
$custom-light: #8b71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c38be",
  "rgb": {
    "r": 76,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 248.955,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45219,
    "c": 0.19828,
    "h": 281.8
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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