#4642C4#4642C4

#4642C4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.196 H 277.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4642C4
RGBrgb(70, 66, 196)
HSLhsl(242, 52%, 51%)
HSVhsv(242, 66%, 77%)
CMYKcmyk(64.3%, 66.3%, 0%, 23.1%)
CIE-LABlab(36.33, 41.19, -67.32)
CIE-LCHlch(36.33, 78.92, 301.46°)
OKLaboklab(46.83% 0.0241 -0.1942)
OKLCHoklch(46.83% 0.196 277.1)
XYZxyz(14.4346, 9.1828, 53.2256)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642C4 #C0C442
analogous
#427FC4 #4642C4 #8742C4
triadic
#4642C4 #C44642 #42C446
tetradic
#4642C4 #C4427F #C0C442 #42C487
square
#4642C4 #C4427F #C0C442 #42C487
split-complementary
#4642C4 #C48742 #7FC442
monochromatic
#23216A #333099 #4642C4 #7471D3 #A19FE1

Accessibility & contrast

On white

7.40
#4642C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4642C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4642C4#FFFFFF#000000##FFFFFF
##4642C41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4642c4;
/* rgb */ color: rgb(70, 66, 196);
/* oklch */ color: oklch(46.8% 0.196 277.1);
Tailwind
colors: {
  custom: {
    50: '#8877d7',
    500: '#4642c4',
    950: '#000000',
  },
}
SCSS
$custom: #4642c4;
$custom-light: #8877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4642c4",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 241.846,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.19565,
    "h": 277.1
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#4642C4
secondary
#CCCE94
accent
#DC4CD7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4642C4

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

Preview Lab → · Contrast checker → · Palette generator →

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