#4C4FAF#4C4FAF

#4C4FAF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.150 H 277.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4C4FAF
RGBrgb(76, 79, 175)
HSLhsl(238, 39%, 49%)
HSVhsv(238, 57%, 69%)
CMYKcmyk(56.6%, 54.9%, 0%, 31.4%)
CIE-LABlab(38.24, 27.16, -51.85)
CIE-LCHlch(38.24, 58.54, 297.65°)
OKLaboklab(47.84% 0.0202 -0.1485)
OKLCHoklch(47.84% 0.15 277.8)
XYZxyz(13.5119, 10.2227, 41.8103)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FAF #AFAC4C
analogous
#4C81AF #4C4FAF #7B4CAF
triadic
#4C4FAF #AF4C4F #4FAF4C
tetradic
#4C4FAF #AF4C81 #AFAC4C #4CAF7B
square
#4C4FAF #AF4C81 #AFAC4C #4CAF7B
split-complementary
#4C4FAF #AF7B4C #81AF4C
monochromatic
#27285A #393C84 #4C4FAF #7577C3 #A0A1D6

Accessibility & contrast

On white

6.90
#4C4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4C4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FAF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FAF#FFFFFF#000000##FFFFFF
##4C4FAF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#166577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c4faf;
/* rgb */ color: rgb(76, 79, 175);
/* oklch */ color: oklch(47.8% 0.150 277.8);
Tailwind
colors: {
  custom: {
    50: '#8780c7',
    500: '#4c4faf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4faf;
$custom-light: #8780c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4faf",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 238.182,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47835,
    "c": 0.14985,
    "h": 277.8
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#4C4FAF
secondary
#C2C194
accent
#CC58CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4C4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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