#4C4FBF#4C4FBF

#4C4FBF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.172 H 276.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4C4FBF
RGBrgb(76, 79, 191)
HSLhsl(238, 47%, 52%)
HSVhsv(238, 60%, 75%)
CMYKcmyk(60.2%, 58.6%, 0%, 25.1%)
CIE-LABlab(39.39, 32.50, -59.39)
CIE-LCHlch(39.39, 67.70, 298.69°)
OKLaboklab(49.06% 0.0205 -0.1706)
OKLCHoklch(49.06% 0.172 276.8)
XYZxyz(15.1774, 10.8889, 50.5821)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FBF #BFBC4C
analogous
#4C88BF #4C4FBF #834CBF
triadic
#4C4FBF #BF4C4F #4FBF4C
tetradic
#4C4FBF #BF4C88 #BFBC4C #4CBF83
square
#4C4FBF #BF4C88 #BFBC4C #4CBF83
split-complementary
#4C4FBF #BF834C #88BF4C
monochromatic
#26286B #363998 #4C4FBF #797BCF #A6A8DF

Accessibility & contrast

On white

6.61
#4C4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4C4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FBF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FBF#FFFFFF#000000##FFFFFF
##4C4FBF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c4fbf;
/* rgb */ color: rgb(76, 79, 191);
/* oklch */ color: oklch(49.1% 0.172 276.8);
Tailwind
colors: {
  custom: {
    50: '#8980d3',
    500: '#4c4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fbf;
$custom-light: #8980d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fbf",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 238.435,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.17187,
    "h": 276.8
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#4C4FBF
secondary
#CCCB9A
accent
#D351D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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