#4642AA#4642AA

#4642AA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.161 H 279.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4642AA
RGBrgb(70, 66, 170)
HSLhsl(242, 44%, 46%)
HSVhsv(242, 61%, 67%)
CMYKcmyk(58.8%, 61.2%, 0%, 33.3%)
CIE-LABlab(34.19, 32.58, -55.46)
CIE-LCHlch(34.19, 64.32, 300.43°)
OKLaboklab(44.6% 0.0261 -0.1594)
OKLCHoklch(44.6% 0.161 279.3)
XYZxyz(11.7274, 8.1000, 38.9679)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642AA #A6AA42
analogous
#4272AA #4642AA #7A42AA
triadic
#4642AA #AA4642 #42AA46
tetradic
#4642AA #AA4272 #A6AA42 #42AA7A
square
#4642AA #AA4272 #A6AA42 #42AA7A
split-complementary
#4642AA #AA7A42 #72AA42
monochromatic
#222052 #34317E #4642AA #6966C3 #9492D5

Accessibility & contrast

On white

8.01
#4642AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4642AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642AA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642AA#FFFFFF#000000##FFFFFF
##4642AA1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#035B6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4642aa;
/* rgb */ color: rgb(70, 66, 170);
/* oklch */ color: oklch(44.6% 0.161 279.3);
Tailwind
colors: {
  custom: {
    50: '#8376c4',
    500: '#4642aa',
    950: '#000000',
  },
}
SCSS
$custom: #4642aa;
$custom-light: #8376c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4642aa",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 242.308,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.16149,
    "h": 279.3
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#4642AA
secondary
#BEC088
accent
#D454CF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4642AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4642AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva