#4C4FA2#4C4FA2

#4C4FA2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.131 H 278.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4C4FA2
RGBrgb(76, 79, 162)
HSLhsl(238, 36%, 47%)
HSVhsv(238, 53%, 64%)
CMYKcmyk(53.1%, 51.2%, 0%, 36.5%)
CIE-LABlab(37.36, 22.86, -45.52)
CIE-LCHlch(37.36, 50.94, 296.66°)
OKLaboklab(46.9% 0.0194 -0.1299)
OKLCHoklch(46.9% 0.131 278.5)
XYZxyz(12.2960, 9.7363, 35.4068)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FA2 #A29F4C
analogous
#4C7AA2 #4C4FA2 #744CA2
triadic
#4C4FA2 #A24C4F #4FA24C
tetradic
#4C4FA2 #A24C7A #A29F4C #4CA274
square
#4C4FA2 #A24C7A #A29F4C #4CA274
split-complementary
#4C4FA2 #A2744C #7AA24C
monochromatic
#25264F #383B78 #4C4FA2 #7072BC #999BCF

Accessibility & contrast

On white

7.12
#4C4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C4FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4FA2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FA2#FFFFFF#000000##FFFFFF
##4C4FA21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA5
Deuteranopia (green-blind)
#1C55A0
Tritanopia (blue-blind)
#276171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c4fa2;
/* rgb */ color: rgb(76, 79, 162);
/* oklch */ color: oklch(46.9% 0.131 278.5);
Tailwind
colors: {
  custom: {
    50: '#8580be',
    500: '#4c4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fa2;
$custom-light: #8580be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fa2",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 237.907,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.469,
    "c": 0.1313,
    "h": 278.5
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#4C4FA2
secondary
#BCBA8E
accent
#C85CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4C4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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