#4C45AE#4C45AE

#4C45AE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.162 H 280.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4C45AE
RGBrgb(76, 69, 174)
HSLhsl(244, 43%, 48%)
HSVhsv(244, 60%, 68%)
CMYKcmyk(56.3%, 60.3%, 0%, 31.8%)
CIE-LABlab(35.69, 33.13, -55.39)
CIE-LCHlch(35.69, 64.54, 300.88°)
OKLaboklab(45.92% 0.0306 -0.1589)
OKLCHoklch(45.92% 0.162 280.9)
XYZxyz(12.7462, 8.8479, 41.0724)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45AE #A7AE45
analogous
#4572AE #4C45AE #8045AE
triadic
#4C45AE #AE4C45 #45AE4C
tetradic
#4C45AE #AE4572 #A7AE45 #45AE80
square
#4C45AE #AE4572 #A7AE45 #45AE80
split-complementary
#4C45AE #AE8045 #72AE45
monochromatic
#262256 #393482 #4C45AE #726CC5 #9C97D6

Accessibility & contrast

On white

7.58
#4C45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4C45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C45AE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45AE#FFFFFF#000000##FFFFFF
##4C45AE1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#1A5E73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c45ae;
/* rgb */ color: rgb(76, 69, 174);
/* oklch */ color: oklch(45.9% 0.162 280.9);
Tailwind
colors: {
  custom: {
    50: '#8779c7',
    500: '#4c45ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c45ae;
$custom-light: #8779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45ae",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 244,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.16187,
    "h": 280.9
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#4C45AE
secondary
#BEC28D
accent
#D355CB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4C45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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