#4A46BC#4A46BC

#4A46BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.180 H 278.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4A46BC
RGBrgb(74, 70, 188)
HSLhsl(242, 47%, 51%)
HSVhsv(242, 63%, 74%)
CMYKcmyk(60.6%, 62.8%, 0%, 26.3%)
CIE-LABlab(36.87, 36.74, -61.75)
CIE-LCHlch(36.87, 71.86, 300.75°)
OKLaboklab(47.09% 0.0264 -0.1777)
OKLCHoklch(47.09% 0.18 278.5)
XYZxyz(14.0884, 9.4660, 48.6519)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A46BC #B8BC46
analogous
#467DBC #4A46BC #8546BC
triadic
#4A46BC #BC4A46 #46BC4A
tetradic
#4A46BC #BC467D #B8BC46 #46BC85
square
#4A46BC #BC467D #B8BC46 #46BC85
split-complementary
#4A46BC #BC8546 #7DBC46
monochromatic
#262464 #373490 #4A46BC #7673CC #A2A0DD

Accessibility & contrast

On white

7.26
#4A46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4A46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A46BC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A46BC#FFFFFF#000000##FFFFFF
##4A46BC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a46bc;
/* rgb */ color: rgb(74, 70, 188);
/* oklch */ color: oklch(47.1% 0.180 278.5);
Tailwind
colors: {
  custom: {
    50: '#887ad1',
    500: '#4a46bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a46bc;
$custom-light: #887ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a46bc",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 242.034,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47089,
    "c": 0.17966,
    "h": 278.5
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#4A46BC
secondary
#C7C995
accent
#D651D2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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