#4642AC#4642AC

#4642AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.164 H 279.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4642AC
RGBrgb(70, 66, 172)
HSLhsl(242, 45%, 47%)
HSVhsv(242, 62%, 67%)
CMYKcmyk(59.3%, 61.6%, 0%, 32.5%)
CIE-LABlab(34.35, 33.25, -56.40)
CIE-LCHlch(34.35, 65.47, 300.52°)
OKLaboklab(44.77% 0.026 -0.1621)
OKLCHoklch(44.77% 0.164 279.1)
XYZxyz(11.9180, 8.1762, 39.9719)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642AC #A8AC42
analogous
#4273AC #4642AC #7B42AC
triadic
#4642AC #AC4642 #42AC46
tetradic
#4642AC #AC4273 #A8AC42 #42AC7B
square
#4642AC #AC4273 #A8AC42 #42AC7B
split-complementary
#4642AC #AC7B42 #73AC42
monochromatic
#222054 #343180 #4642AC #6A67C5 #9593D6

Accessibility & contrast

On white

7.97
#4642AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4642AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4642AC#FFFFFF#000000##FFFFFF
##4642AC1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4642ac;
/* rgb */ color: rgb(70, 66, 172);
/* oklch */ color: oklch(44.8% 0.164 279.1);
Tailwind
colors: {
  custom: {
    50: '#8477c6',
    500: '#4642ac',
    950: '#000000',
  },
}
SCSS
$custom: #4642ac;
$custom-light: #8477c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4642ac",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 242.264,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.1642,
    "h": 279.1
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4642AC

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

Preview Lab → · Contrast checker → · Palette generator →

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