#4C45D4#4C45D4

#4C45D4 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.211 H 277.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4C45D4
RGBrgb(76, 69, 212)
HSLhsl(243, 62%, 55%)
HSVhsv(243, 67%, 83%)
CMYKcmyk(64.2%, 67.5%, 0%, 16.9%)
CIE-LABlab(38.80, 45.43, -72.53)
CIE-LCHlch(38.80, 85.59, 302.06°)
OKLaboklab(49.16% 0.0273 -0.2093)
OKLCHoklch(49.16% 0.211 277.4)
XYZxyz(16.9884, 10.5448, 63.4147)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45D4 #CDD445
analogous
#4586D4 #4C45D4 #9345D4
triadic
#4C45D4 #D44C45 #45D44C
tetradic
#4C45D4 #D44586 #CDD445 #45D493
square
#4C45D4 #D44586 #CDD445 #45D493
split-complementary
#4C45D4 #D49345 #86D445
monochromatic
#231E81 #3029B3 #4C45D4 #7C77DF #ACA8EB

Accessibility & contrast

On white

6.75
#4C45D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4C45D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45D4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45D4#FFFFFF#000000##FFFFFF
##4C45D41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0055D1
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c45d4;
/* rgb */ color: rgb(76, 69, 212);
/* oklch */ color: oklch(49.2% 0.211 277.4);
Tailwind
colors: {
  custom: {
    50: '#8e7ae2',
    500: '#4c45d4',
    950: '#000000',
  },
}
SCSS
$custom: #4c45d4;
$custom-light: #8e7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45d4",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 242.937,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.21105,
    "h": 277.4
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#4C45D4
secondary
#D5D89C
accent
#E642DE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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