#4C38BF#4C38BF

#4C38BF is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.3% C 0.200 H 281.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4C38BF
RGBrgb(76, 56, 191)
HSLhsl(249, 55%, 48%)
HSVhsv(249, 71%, 75%)
CMYKcmyk(60.2%, 70.7%, 0%, 25.1%)
CIE-LABlab(34.24, 46.20, -67.80)
CIE-LCHlch(34.24, 82.05, 304.27°)
OKLaboklab(45.31% 0.0403 -0.1954)
OKLCHoklch(45.31% 0.2 281.6)
XYZxyz(13.7957, 8.1255, 50.1215)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C38BF #ABBF38
analogous
#3867BF #4C38BF #8F38BF
triadic
#4C38BF #BF4C38 #38BF4C
tetradic
#4C38BF #BF3867 #ABBF38 #38BF8F
square
#4C38BF #BF3867 #ABBF38 #38BF8F
split-complementary
#4C38BF #BF8F38 #67BF38
monochromatic
#261C60 #392A90 #4C38BF #7363D1 #9E92DF

Accessibility & contrast

On white

8.00
#4C38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C38BF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C38BF#FFFFFF#000000##FFFFFF
##4C38BF1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c38bf;
/* rgb */ color: rgb(76, 56, 191);
/* oklch */ color: oklch(45.3% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#8b71d3',
    500: '#4c38bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c38bf;
$custom-light: #8b71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c38bf",
  "rgb": {
    "r": 76,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 248.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.19951,
    "h": 281.6
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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