#4C4FBB#4C4FBB

#4C4FBB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.166 H 277.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4C4FBB
RGBrgb(76, 79, 187)
HSLhsl(238, 45%, 52%)
HSVhsv(238, 59%, 73%)
CMYKcmyk(59.4%, 57.8%, 0%, 26.7%)
CIE-LABlab(39.10, 31.17, -57.53)
CIE-LCHlch(39.10, 65.43, 298.44°)
OKLaboklab(48.75% 0.0205 -0.1652)
OKLCHoklch(48.75% 0.166 277.1)
XYZxyz(14.7432, 10.7152, 48.2954)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FBB #BBB84C
analogous
#4C87BB #4C4FBB #814CBB
triadic
#4C4FBB #BB4C4F #4FBB4C
tetradic
#4C4FBB #BB4C87 #BBB84C #4CBB81
square
#4C4FBB #BB4C87 #BBB84C #4CBB81
split-complementary
#4C4FBB #BB814C #87BB4C
monochromatic
#272866 #383A92 #4C4FBB #787BCC #A5A6DD

Accessibility & contrast

On white

6.68
#4C4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4C4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FBB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FBB#FFFFFF#000000##FFFFFF
##4C4FBB1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4fbb;
/* rgb */ color: rgb(76, 79, 187);
/* oklch */ color: oklch(48.7% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#8980d0',
    500: '#4c4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fbb;
$custom-light: #8980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fbb",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 238.378,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.16645,
    "h": 277.1
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#4C4FBB
secondary
#CAC899
accent
#D153D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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