#4C45C8#4C45C8

#4C45C8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.196 H 278.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4C45C8
RGBrgb(76, 69, 200)
HSLhsl(243, 54%, 53%)
HSVhsv(243, 66%, 78%)
CMYKcmyk(62%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.77, 41.57, -67.28)
CIE-LCHlch(37.77, 79.08, 301.71°)
OKLaboklab(48.09% 0.0287 -0.1939)
OKLCHoklch(48.09% 0.196 278.4)
XYZxyz(15.5306, 9.9617, 55.7368)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45C8 #C1C845
analogous
#457FC8 #4C45C8 #8D45C8
triadic
#4C45C8 #C84C45 #45C84C
tetradic
#4C45C8 #C8457F #C1C845 #45C88D
square
#4C45C8 #C8457F #C1C845 #45C88D
split-complementary
#4C45C8 #C88D45 #7FC845
monochromatic
#262171 #352FA0 #4C45C8 #7974D6 #A7A3E4

Accessibility & contrast

On white

7.02
#4C45C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4C45C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C45C8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45C8#FFFFFF#000000##FFFFFF
##4C45C81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c45c8;
/* rgb */ color: rgb(76, 69, 200);
/* oklch */ color: oklch(48.1% 0.196 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c79da',
    500: '#4c45c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c45c8;
$custom-light: #8c79da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45c8",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 243.206,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.19599,
    "h": 278.4
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#4C45C8
secondary
#CED198
accent
#DE4AD6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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