#4C4FBC#4C4FBC

#4C4FBC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.168 H 277.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4C4FBC
RGBrgb(76, 79, 188)
HSLhsl(238, 46%, 52%)
HSVhsv(238, 60%, 74%)
CMYKcmyk(59.6%, 58%, 0%, 26.3%)
CIE-LABlab(39.17, 31.50, -58.00)
CIE-LCHlch(39.17, 66.00, 298.51°)
OKLaboklab(48.82% 0.0205 -0.1666)
OKLCHoklch(48.82% 0.168 277)
XYZxyz(14.8507, 10.7582, 48.8612)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FBC #BCB94C
analogous
#4C87BC #4C4FBC #814CBC
triadic
#4C4FBC #BC4C4F #4FBC4C
tetradic
#4C4FBC #BC4C87 #BCB94C #4CBC81
square
#4C4FBC #BC4C87 #BCB94C #4CBC81
split-complementary
#4C4FBC #BC814C #87BC4C
monochromatic
#272867 #373A94 #4C4FBC #797BCD #A5A7DD

Accessibility & contrast

On white

6.66
#4C4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4C4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FBC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FBC#FFFFFF#000000##FFFFFF
##4C4FBC1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4fbc;
/* rgb */ color: rgb(76, 79, 188);
/* oklch */ color: oklch(48.8% 0.168 277.0);
Tailwind
colors: {
  custom: {
    50: '#8980d1',
    500: '#4c4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fbc;
$custom-light: #8980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fbc",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 238.393,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.16782,
    "h": 277
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#4C4FBC
secondary
#CAC999
accent
#D253D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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