#4C45DC#4C45DC

#4C45DC is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.221 H 276.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4C45DC
RGBrgb(76, 69, 220)
HSLhsl(243, 68%, 57%)
HSVhsv(243, 69%, 86%)
CMYKcmyk(65.5%, 68.6%, 0%, 13.7%)
CIE-LABlab(39.51, 47.98, -75.97)
CIE-LCHlch(39.51, 89.85, 302.28°)
OKLaboklab(49.88% 0.0262 -0.2193)
OKLCHoklch(49.88% 0.221 276.8)
XYZxyz(18.0227, 10.9585, 68.8617)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45DC #D5DC45
analogous
#458ADC #4C45DC #9745DC
triadic
#4C45DC #DC4C45 #45DC4C
tetradic
#4C45DC #DC458A #D5DC45 #45DC97
square
#4C45DC #DC458A #D5DC45 #45DC97
split-complementary
#4C45DC #DC9745 #8ADC45
monochromatic
#201A8C #2B24C0 #4C45DC #7E79E6 #AFACEF

Accessibility & contrast

On white

6.58
#4C45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4C45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45DC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45DC#FFFFFF#000000##FFFFFF
##4C45DC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c45dc;
/* rgb */ color: rgb(76, 69, 220);
/* oklch */ color: oklch(49.9% 0.221 276.8);
Tailwind
colors: {
  custom: {
    50: '#8f7ae8',
    500: '#4c45dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c45dc;
$custom-light: #8f7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45dc",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 242.781,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.22088,
    "h": 276.8
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#4C45DC
secondary
#DADDA0
accent
#EB3DE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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