#4C45CB#4C45CB

#4C45CB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.4% C 0.200 H 278.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4C45CB
RGBrgb(76, 69, 203)
HSLhsl(243, 56%, 53%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.6%, 66%, 0%, 20.4%)
CIE-LABlab(38.03, 42.54, -68.60)
CIE-LCHlch(38.03, 80.72, 301.80°)
OKLaboklab(48.36% 0.0284 -0.1978)
OKLCHoklch(48.36% 0.2 278.2)
XYZxyz(15.8846, 10.1033, 57.6014)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45CB #C4CB45
analogous
#4581CB #4C45CB #8F45CB
triadic
#4C45CB #CB4C45 #45CB4C
tetradic
#4C45CB #CB4581 #C4CB45 #45CB8F
square
#4C45CB #CB4581 #C4CB45 #45CB8F
split-complementary
#4C45CB #CB8F45 #81CB45
monochromatic
#252175 #342EA5 #4C45CB #7A75D8 #A8A5E6

Accessibility & contrast

On white

6.95
#4C45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4C45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45CB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45CB#FFFFFF#000000##FFFFFF
##4C45CB1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c45cb;
/* rgb */ color: rgb(76, 69, 203);
/* oklch */ color: oklch(48.4% 0.200 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c79dc',
    500: '#4c45cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c45cb;
$custom-light: #8c79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45cb",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 243.134,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.19979,
    "h": 278.2
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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