#4C46BE#4C46BE

#4C46BE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.182 H 279.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4C46BE
RGBrgb(76, 70, 190)
HSLhsl(243, 48%, 51%)
HSVhsv(243, 63%, 75%)
CMYKcmyk(60%, 63.2%, 0%, 25.5%)
CIE-LABlab(37.18, 37.72, -62.41)
CIE-LCHlch(37.18, 72.93, 301.15°)
OKLaboklab(47.4% 0.0288 -0.1796)
OKLCHoklch(47.4% 0.182 279.1)
XYZxyz(14.4620, 9.6335, 49.8026)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46BE #B8BE46
analogous
#467CBE #4C46BE #8846BE
triadic
#4C46BE #BE4C46 #46BE4C
tetradic
#4C46BE #BE467C #B8BE46 #46BE88
square
#4C46BE #BE467C #B8BE46 #46BE88
split-complementary
#4C46BE #BE8846 #7CBE46
monochromatic
#272466 #383493 #4C46BE #7873CE #A4A1DE

Accessibility & contrast

On white

7.17
#4C46BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4C46BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C46BE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46BE#FFFFFF#000000##FFFFFF
##4C46BE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c46be;
/* rgb */ color: rgb(76, 70, 190);
/* oklch */ color: oklch(47.4% 0.182 279.1);
Tailwind
colors: {
  custom: {
    50: '#8a7ad3',
    500: '#4c46be',
    950: '#000000',
  },
}
SCSS
$custom: #4c46be;
$custom-light: #8a7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46be",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 243,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.18188,
    "h": 279.1
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#4C46BE
secondary
#C8CA95
accent
#D850D1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4C46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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