#4A46AF#4A46AF

#4A46AF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.162 H 279.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4A46AF
RGBrgb(74, 70, 175)
HSLhsl(242, 43%, 48%)
HSVhsv(242, 60%, 69%)
CMYKcmyk(57.7%, 60%, 0%, 31.4%)
CIE-LABlab(35.85, 32.46, -55.73)
CIE-LCHlch(35.85, 64.49, 300.22°)
OKLaboklab(46.02% 0.0271 -0.16)
OKLCHoklch(46.02% 0.162 279.6)
XYZxyz(12.7496, 8.9304, 41.6010)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A46AF #ABAF46
analogous
#4676AF #4A46AF #7E46AF
triadic
#4A46AF #AF4A46 #46AF4A
tetradic
#4A46AF #AF4676 #ABAF46 #46AF7E
square
#4A46AF #AF4676 #ABAF46 #46AF7E
split-complementary
#4A46AF #AF7E46 #76AF46
monochromatic
#252358 #383583 #4A46AF #716DC5 #9B99D6

Accessibility & contrast

On white

7.54
#4A46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A46AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A46AF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A46AF#FFFFFF#000000##FFFFFF
##4A46AF1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#0F5F73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a46af;
/* rgb */ color: rgb(74, 70, 175);
/* oklch */ color: oklch(46.0% 0.162 279.6);
Tailwind
colors: {
  custom: {
    50: '#8679c8',
    500: '#4a46af',
    950: '#000000',
  },
}
SCSS
$custom: #4a46af;
$custom-light: #8679c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a46af",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 242.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46024,
    "c": 0.16227,
    "h": 279.6
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#4A46AF
secondary
#C0C28E
accent
#D355CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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