#4C45CD#4C45CD

#4C45CD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.202 H 278.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4C45CD
RGBrgb(76, 69, 205)
HSLhsl(243, 58%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.9%, 66.3%, 0%, 19.6%)
CIE-LABlab(38.20, 43.18, -69.48)
CIE-LCHlch(38.20, 81.81, 301.86°)
OKLaboklab(48.53% 0.0282 -0.2003)
OKLCHoklch(48.53% 0.202 278)
XYZxyz(16.1245, 10.1992, 58.8647)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45CD #C6CD45
analogous
#4582CD #4C45CD #9045CD
triadic
#4C45CD #CD4C45 #45CD4C
tetradic
#4C45CD #CD4582 #C6CD45 #45CD90
square
#4C45CD #CD4582 #C6CD45 #45CD90
split-complementary
#4C45CD #CD9045 #82CD45
monochromatic
#252077 #332DA8 #4C45CD #7A75DA #A9A5E7

Accessibility & contrast

On white

6.91
#4C45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4C45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45CD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45CD#FFFFFF#000000##FFFFFF
##4C45CD1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c45cd;
/* rgb */ color: rgb(76, 69, 205);
/* oklch */ color: oklch(48.5% 0.202 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c7add',
    500: '#4c45cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c45cd;
$custom-light: #8c7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45cd",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 243.088,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.20231,
    "h": 278
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#4C45CD
secondary
#D1D49A
accent
#E147D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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