#4C4EC9#4C4EC9

#4C4EC9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.186 H 276.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4C4EC9
RGBrgb(76, 78, 201)
HSLhsl(239, 54%, 54%)
HSVhsv(239, 62%, 79%)
CMYKcmyk(62.2%, 61.2%, 0%, 21.2%)
CIE-LABlab(39.92, 36.45, -64.36)
CIE-LCHlch(39.92, 73.96, 299.53°)
OKLaboklab(49.69% 0.0211 -0.1853)
OKLCHoklch(49.69% 0.186 276.5)
XYZxyz(16.2441, 11.2010, 56.5530)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EC9 #C9C74C
analogous
#4C8DC9 #4C4EC9 #894CC9
triadic
#4C4EC9 #C94C4E #4EC94C
tetradic
#4C4EC9 #C94C8D #C9C74C #4CC989
square
#4C4EC9 #C94C8D #C9C74C #4CC989
split-complementary
#4C4EC9 #C9894C #8DC94C
monochromatic
#242577 #3234A6 #4C4EC9 #7B7CD7 #AAABE5

Accessibility & contrast

On white

6.48
#4C4EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4C4EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EC9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EC9#FFFFFF#000000##FFFFFF
##4C4EC91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4ec9;
/* rgb */ color: rgb(76, 78, 201);
/* oklch */ color: oklch(49.7% 0.186 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b80da',
    500: '#4c4ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ec9;
$custom-light: #8b80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ec9",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 239.04,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.18646,
    "h": 276.5
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#4C4EC9
secondary
#D3D29E
accent
#DB4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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