#4642AB#4642AB

#4642AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.163 H 279.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4642AB
RGBrgb(70, 66, 171)
HSLhsl(242, 44%, 46%)
HSVhsv(242, 61%, 67%)
CMYKcmyk(59.1%, 61.4%, 0%, 32.9%)
CIE-LABlab(34.27, 32.91, -55.93)
CIE-LCHlch(34.27, 64.90, 300.48°)
OKLaboklab(44.69% 0.0261 -0.1607)
OKLCHoklch(44.69% 0.163 279.2)
XYZxyz(11.8224, 8.1380, 39.4680)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642AB #A7AB42
analogous
#4273AB #4642AB #7B42AB
triadic
#4642AB #AB4642 #42AB46
tetradic
#4642AB #AB4273 #A7AB42 #42AB7B
square
#4642AB #AB4273 #A7AB42 #42AB7B
split-complementary
#4642AB #AB7B42 #73AB42
monochromatic
#222053 #34317F #4642AB #6A66C4 #9592D5

Accessibility & contrast

On white

7.99
#4642AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4642AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4642AB#FFFFFF#000000##FFFFFF
##4642AB1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4642ab;
/* rgb */ color: rgb(70, 66, 171);
/* oklch */ color: oklch(44.7% 0.163 279.2);
Tailwind
colors: {
  custom: {
    50: '#8476c5',
    500: '#4642ab',
    950: '#000000',
  },
}
SCSS
$custom: #4642ab;
$custom-light: #8476c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4642ab",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 242.286,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.16284,
    "h": 279.2
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4642AB

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

Preview Lab → · Contrast checker → · Palette generator →

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