#4C45CF#4C45CF

#4C45CF is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.205 H 277.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4C45CF
RGBrgb(76, 69, 207)
HSLhsl(243, 59%, 54%)
HSVhsv(243, 67%, 81%)
CMYKcmyk(63.3%, 66.7%, 0%, 18.8%)
CIE-LABlab(38.37, 43.82, -70.36)
CIE-LCHlch(38.37, 82.89, 301.92°)
OKLaboklab(48.71% 0.0279 -0.2029)
OKLCHoklch(48.71% 0.205 277.8)
XYZxyz(16.3675, 10.2964, 60.1443)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45CF #C8CF45
analogous
#4583CF #4C45CF #9145CF
triadic
#4C45CF #CF4C45 #45CF4C
tetradic
#4C45CF #CF4583 #C8CF45 #45CF91
square
#4C45CF #CF4583 #C8CF45 #45CF91
split-complementary
#4C45CF #CF9145 #83CF45
monochromatic
#24207A #322CAB #4C45CF #7B76DC #AAA6E8

Accessibility & contrast

On white

6.86
#4C45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4C45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45CF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45CF#FFFFFF#000000##FFFFFF
##4C45CF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c45cf;
/* rgb */ color: rgb(76, 69, 207);
/* oklch */ color: oklch(48.7% 0.205 277.8);
Tailwind
colors: {
  custom: {
    50: '#8d7adf',
    500: '#4c45cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c45cf;
$custom-light: #8d7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45cf",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 243.043,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.20482,
    "h": 277.8
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#4C45CF
secondary
#D2D59B
accent
#E246DA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4C45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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