#4C45D8#4C45D8

#4C45D8 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.216 H 277.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4C45D8
RGBrgb(76, 69, 216)
HSLhsl(243, 65%, 56%)
HSVhsv(243, 68%, 85%)
CMYKcmyk(64.8%, 68.1%, 0%, 15.3%)
CIE-LABlab(39.15, 46.71, -74.26)
CIE-LCHlch(39.15, 87.73, 302.17°)
OKLaboklab(49.52% 0.0268 -0.2143)
OKLCHoklch(49.52% 0.216 277.1)
XYZxyz(17.4993, 10.7491, 66.1050)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45D8 #D1D845
analogous
#4587D8 #4C45D8 #9545D8
triadic
#4C45D8 #D84C45 #45D84C
tetradic
#4C45D8 #D84587 #D1D845 #45D895
square
#4C45D8 #D84587 #D1D845 #45D895
split-complementary
#4C45D8 #D89545 #87D845
monochromatic
#211C86 #2E27B9 #4C45D8 #7D78E3 #ADAAED

Accessibility & contrast

On white

6.67
#4C45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4C45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45D8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45D8#FFFFFF#000000##FFFFFF
##4C45D81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0056D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c45d8;
/* rgb */ color: rgb(76, 69, 216);
/* oklch */ color: oklch(49.5% 0.216 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f7ae5',
    500: '#4c45d8',
    950: '#000000',
  },
}
SCSS
$custom: #4c45d8;
$custom-light: #8f7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45d8",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 242.857,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.21599,
    "h": 277.1
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#4C45D8
secondary
#D8DB9E
accent
#E840E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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