#4A46CB#4A46CB

#4A46CB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.4% C 0.199 H 277.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4A46CB
RGBrgb(74, 70, 203)
HSLhsl(242, 56%, 54%)
HSVhsv(242, 66%, 80%)
CMYKcmyk(63.5%, 65.5%, 0%, 20.4%)
CIE-LABlab(38.10, 41.66, -68.48)
CIE-LCHlch(38.10, 80.16, 301.31°)
OKLaboklab(48.38% 0.0252 -0.1975)
OKLCHoklch(48.38% 0.199 277.3)
XYZxyz(15.7902, 10.1467, 57.6147)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A46CB #C7CB46
analogous
#4684CB #4A46CB #8D46CB
triadic
#4A46CB #CB4A46 #46CB4A
tetradic
#4A46CB #CB4684 #C7CB46 #46CB8D
square
#4A46CB #CB4684 #C7CB46 #46CB8D
split-complementary
#4A46CB #CB8D46 #84CB46
monochromatic
#242176 #322EA5 #4A46CB #7976D8 #A7A6E6

Accessibility & contrast

On white

6.93
#4A46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4A46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A46CB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A46CB#FFFFFF#000000##FFFFFF
##4A46CB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a46cb;
/* rgb */ color: rgb(74, 70, 203);
/* oklch */ color: oklch(48.4% 0.199 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b7adc',
    500: '#4a46cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a46cb;
$custom-light: #8b7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a46cb",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 241.805,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.19906,
    "h": 277.3
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#4A46CB
secondary
#D1D39A
accent
#DF48DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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