#4642C8#4642C8

#4642C8 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.2% C 0.201 H 276.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4642C8
RGBrgb(70, 66, 200)
HSLhsl(242, 55%, 52%)
HSVhsv(242, 67%, 78%)
CMYKcmyk(65%, 67%, 0%, 21.6%)
CIE-LABlab(36.68, 42.50, -69.08)
CIE-LCHlch(36.68, 81.10, 301.60°)
OKLaboklab(47.19% 0.0236 -0.1993)
OKLCHoklch(47.19% 0.201 276.8)
XYZxyz(14.8959, 9.3674, 55.6555)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642C8 #C4C842
analogous
#4281C8 #4642C8 #8942C8
triadic
#4642C8 #C84642 #42C846
tetradic
#4642C8 #C84281 #C4C842 #42C889
square
#4642C8 #C84281 #C4C842 #42C889
split-complementary
#4642C8 #C88942 #81C842
monochromatic
#23206F #322E9F #4642C8 #7471D6 #A3A1E4

Accessibility & contrast

On white

7.31
#4642C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4642C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4642C8#FFFFFF#000000##FFFFFF
##4642C81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4642c8;
/* rgb */ color: rgb(70, 66, 200);
/* oklch */ color: oklch(47.2% 0.201 276.8);
Tailwind
colors: {
  custom: {
    50: '#8977da',
    500: '#4642c8',
    950: '#000000',
  },
}
SCSS
$custom: #4642c8;
$custom-light: #8977da;
$custom-dark: #000000;
JSON
{
  "hex": "#4642c8",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 241.791,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47193,
    "c": 0.20071,
    "h": 276.8
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#4642C8
secondary
#CED096
accent
#DE4ADA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642C8

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

Preview Lab → · Contrast checker → · Palette generator →

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