#4C488E#4C488E

#4C488E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.112 H 283.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4C488E
RGBrgb(76, 72, 142)
HSLhsl(243, 33%, 42%)
HSVhsv(243, 49%, 56%)
CMYKcmyk(46.5%, 49.3%, 0%, 44.3%)
CIE-LABlab(34.24, 20.89, -38.43)
CIE-LCHlch(34.24, 43.75, 298.53°)
OKLaboklab(44.14% 0.0259 -0.1091)
OKLCHoklch(44.14% 0.112 283.4)
XYZxyz(10.1789, 8.1238, 26.6176)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C488E #8A8E48
analogous
#48678E #4C488E #6F488E
triadic
#4C488E #8E4C48 #488E4C
tetradic
#4C488E #8E4867 #8A8E48 #488E6F
square
#4C488E #8E4867 #8A8E48 #488E6F
split-complementary
#4C488E #8E6F48 #678E48
monochromatic
#211F3D #363365 #4C488E #6863B0 #8F8CC5

Accessibility & contrast

On white

8.00
#4C488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C488E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C488E#FFFFFF#000000##FFFFFF
##4C488E1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#365764
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c488e;
/* rgb */ color: rgb(76, 72, 142);
/* oklch */ color: oklch(44.1% 0.112 283.4);
Tailwind
colors: {
  custom: {
    50: '#827baf',
    500: '#4c488e',
    950: '#000000',
  },
}
SCSS
$custom: #4c488e;
$custom-light: #827baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c488e",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 243.429,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.11213,
    "h": 283.4
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#4C488E
secondary
#AEB082
accent
#C95FC3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4C488E

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

Preview Lab → · Contrast checker → · Palette generator →

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