#4C548E#4C548E

#4C548E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.094 H 276.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4C548E
RGBrgb(76, 84, 142)
HSLhsl(233, 30%, 43%)
HSVhsv(233, 46%, 56%)
CMYKcmyk(46.5%, 40.8%, 0%, 44.3%)
CIE-LABlab(37.53, 13.14, -33.20)
CIE-LCHlch(37.53, 35.70, 291.60°)
OKLaboklab(46.64% 0.0101 -0.0937)
OKLCHoklch(46.64% 0.094 276.2)
XYZxyz(11.0318, 9.8296, 26.9019)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C548E #8E864C
analogous
#4C758E #4C548E #654C8E
triadic
#4C548E #8E4C54 #548E4C
tetradic
#4C548E #8E4C75 #8E864C #4C8E65
square
#4C548E #8E4C75 #8E864C #4C8E65
split-complementary
#4C548E #8E654C #758E4C
monochromatic
#21253E #373C66 #4C548E #6971AF #9197C4

Accessibility & contrast

On white

7.08
#4C548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4C548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C548E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C548E#FFFFFF#000000##FFFFFF
##4C548E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#39568D
Tritanopia (blue-blind)
#35606A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c548e;
/* rgb */ color: rgb(76, 84, 142);
/* oklch */ color: oklch(46.6% 0.094 276.2);
Tailwind
colors: {
  custom: {
    50: '#8284af',
    500: '#4c548e',
    950: '#000000',
  },
}
SCSS
$custom: #4c548e;
$custom-light: #8284af;
$custom-dark: #000000;
JSON
{
  "hex": "#4c548e",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 232.727,
    "s": 30.275,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.09423,
    "h": 276.2
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#4C548E
secondary
#B0AB86
accent
#BA61C7
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4C548E

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

Preview Lab → · Contrast checker → · Palette generator →

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