#4C45EA#4C45EA

#4C45EA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.238 H 275.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4C45EA
RGBrgb(76, 69, 234)
HSLhsl(243, 80%, 59%)
HSVhsv(243, 71%, 92%)
CMYKcmyk(67.5%, 70.5%, 0%, 8.2%)
CIE-LABlab(40.79, 52.40, -81.84)
CIE-LCHlch(40.79, 97.18, 302.63°)
OKLaboklab(51.18% 0.0241 -0.2365)
OKLCHoklch(51.18% 0.238 275.8)
XYZxyz(19.9550, 11.7314, 79.0387)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45EA #E3EA45
analogous
#4591EA #4C45EA #9E45EA
triadic
#4C45EA #EA4C45 #45EA4C
tetradic
#4C45EA #EA4591 #E3EA45 #45EA9E
square
#4C45EA #EA4591 #E3EA45 #45EA9E
split-complementary
#4C45EA #EA9E45 #91EA45
monochromatic
#1812A2 #2119D9 #4C45EA #817CF0 #B6B3F6

Accessibility & contrast

On white

6.28
#4C45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4C45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C45EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45EA#FFFFFF#000000##FFFFFF
##4C45EA1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#0059E7
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c45ea;
/* rgb */ color: rgb(76, 69, 234);
/* oklch */ color: oklch(51.2% 0.238 275.8);
Tailwind
colors: {
  custom: {
    50: '#927af2',
    500: '#4c45ea',
    950: '#000000',
  },
}
SCSS
$custom: #4c45ea;
$custom-light: #927af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45ea",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 242.545,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51182,
    "c": 0.2377,
    "h": 275.8
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#4C45EA
secondary
#E3E6A5
accent
#F632EE
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4C45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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