#4C458C#4C458C

#4C458C is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.4% C 0.114 H 285.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4C458C
RGBrgb(76, 69, 140)
HSLhsl(246, 34%, 41%)
HSVhsv(246, 51%, 55%)
CMYKcmyk(45.7%, 50.7%, 0%, 45.1%)
CIE-LABlab(33.32, 22.20, -38.68)
CIE-LCHlch(33.32, 44.60, 299.85°)
OKLaboklab(43.41% 0.0296 -0.1098)
OKLCHoklch(43.41% 0.114 285.1)
XYZxyz(9.8409, 7.6858, 25.7708)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C458C #858C45
analogous
#45618C #4C458C #6F458C
triadic
#4C458C #8C4C45 #458C4C
tetradic
#4C458C #8C4561 #858C45 #458C6F
square
#4C458C #8C4561 #858C45 #458C6F
split-complementary
#4C458C #8C6F45 #618C45
monochromatic
#1F1D3A #363163 #4C458C #665EB0 #8D87C4

Accessibility & contrast

On white

8.28
#4C458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4C458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C458C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C458C#FFFFFF#000000##FFFFFF
##4C458C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508F
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#385462
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c458c;
/* rgb */ color: rgb(76, 69, 140);
/* oklch */ color: oklch(43.4% 0.114 285.1);
Tailwind
colors: {
  custom: {
    50: '#8278ae',
    500: '#4c458c',
    950: '#000000',
  },
}
SCSS
$custom: #4c458c;
$custom-light: #8278ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4c458c",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 245.915,
    "s": 33.971,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.11375,
    "h": 285.1
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#4C458C
secondary
#AAAF7E
accent
#CA5EBF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4C458C

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

Preview Lab → · Contrast checker → · Palette generator →

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