#4C45D3#4C45D3

#4C45D3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.210 H 277.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4C45D3
RGBrgb(76, 69, 211)
HSLhsl(243, 62%, 55%)
HSVhsv(243, 67%, 83%)
CMYKcmyk(64%, 67.3%, 0%, 17.3%)
CIE-LABlab(38.72, 45.11, -72.10)
CIE-LCHlch(38.72, 85.05, 302.03°)
OKLaboklab(49.07% 0.0274 -0.208)
OKLCHoklch(49.07% 0.21 277.5)
XYZxyz(16.8627, 10.4945, 62.7524)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45D3 #CCD345
analogous
#4585D3 #4C45D3 #9345D3
triadic
#4C45D3 #D34C45 #45D34C
tetradic
#4C45D3 #D34585 #CCD345 #45D393
square
#4C45D3 #D34585 #CCD345 #45D393
split-complementary
#4C45D3 #D39345 #85D345
monochromatic
#231E7F #312AB1 #4C45D3 #7C76DF #ABA8EA

Accessibility & contrast

On white

6.78
#4C45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4C45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45D3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45D3#FFFFFF#000000##FFFFFF
##4C45D31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c45d3;
/* rgb */ color: rgb(76, 69, 211);
/* oklch */ color: oklch(49.1% 0.210 277.5);
Tailwind
colors: {
  custom: {
    50: '#8e7ae2',
    500: '#4c45d3',
    950: '#000000',
  },
}
SCSS
$custom: #4c45d3;
$custom-light: #8e7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45d3",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 242.958,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49066,
    "c": 0.20981,
    "h": 277.5
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#4C45D3
secondary
#D5D89C
accent
#E543DD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4C45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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