#4C45CC#4C45CC

#4C45CC is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.4% C 0.201 H 278.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4C45CC
RGBrgb(76, 69, 204)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.7%, 66.2%, 0%, 20%)
CIE-LABlab(38.11, 42.86, -69.04)
CIE-LCHlch(38.11, 81.26, 301.83°)
OKLaboklab(48.44% 0.0283 -0.199)
OKLCHoklch(48.44% 0.201 278.1)
XYZxyz(16.0042, 10.1511, 58.2310)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45CC #C5CC45
analogous
#4581CC #4C45CC #8F45CC
triadic
#4C45CC #CC4C45 #45CC4C
tetradic
#4C45CC #CC4581 #C5CC45 #45CC8F
square
#4C45CC #CC4581 #C5CC45 #45CC8F
split-complementary
#4C45CC #CC8F45 #81CC45
monochromatic
#252076 #342EA6 #4C45CC #7A75D9 #A8A5E6

Accessibility & contrast

On white

6.93
#4C45CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4C45CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45CC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45CC#FFFFFF#000000##FFFFFF
##4C45CC1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c45cc;
/* rgb */ color: rgb(76, 69, 204);
/* oklch */ color: oklch(48.4% 0.201 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c79dd',
    500: '#4c45cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c45cc;
$custom-light: #8c79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45cc",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 243.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.20105,
    "h": 278.1
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#4C45CC
secondary
#D0D399
accent
#E048D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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