#4C4E98#4C4E98

#4C4E98 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.0% C 0.118 H 279.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4C4E98
RGBrgb(76, 78, 152)
HSLhsl(238, 33%, 45%)
HSVhsv(238, 50%, 60%)
CMYKcmyk(50%, 48.7%, 0%, 40.4%)
CIE-LABlab(36.46, 20.23, -40.96)
CIE-LCHlch(36.46, 45.68, 296.29°)
OKLaboklab(46.02% 0.0195 -0.1164)
OKLCHoklch(46.02% 0.118 279.5)
XYZxyz(11.3706, 9.2517, 30.8863)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E98 #98964C
analogous
#4C7498 #4C4E98 #704C98
triadic
#4C4E98 #984C4E #4E984C
tetradic
#4C4E98 #984C74 #98964C #4C9870
square
#4C4E98 #984C74 #98964C #4C9870
split-complementary
#4C4E98 #98704C #74984C
monochromatic
#232446 #38396F #4C4E98 #6C6EB5 #9596CA

Accessibility & contrast

On white

7.37
#4C4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4C4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E98
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E98#FFFFFF#000000##FFFFFF
##4C4E981.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#2F5E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c4e98;
/* rgb */ color: rgb(76, 78, 152);
/* oklch */ color: oklch(46.0% 0.118 279.5);
Tailwind
colors: {
  custom: {
    50: '#837fb7',
    500: '#4c4e98',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e98;
$custom-light: #837fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e98",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 238.421,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.11808,
    "h": 279.5
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#4C4E98
secondary
#B6B58A
accent
#C75EC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4C4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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