#4642CE#4642CE

#4642CE is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.7% C 0.208 H 276.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4642CE
RGBrgb(70, 66, 206)
HSLhsl(242, 59%, 53%)
HSVhsv(242, 68%, 81%)
CMYKcmyk(66%, 68%, 0%, 19.2%)
CIE-LABlab(37.21, 44.45, -71.69)
CIE-LCHlch(37.21, 84.36, 301.80°)
OKLaboklab(47.74% 0.0229 -0.207)
OKLCHoklch(47.74% 0.208 276.3)
XYZxyz(15.6109, 9.6534, 59.4212)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642CE #CACE42
analogous
#4284CE #4642CE #8C42CE
triadic
#4642CE #CE4642 #42CE46
tetradic
#4642CE #CE4284 #CACE42 #42CE8C
square
#4642CE #CE4284 #CACE42 #42CE8C
split-complementary
#4642CE #CE8C42 #84CE42
monochromatic
#211F77 #2F2BA7 #4642CE #7673DB #A5A3E7

Accessibility & contrast

On white

7.16
#4642CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4642CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4642CE#FFFFFF#000000##FFFFFF
##4642CE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4642ce;
/* rgb */ color: rgb(70, 66, 206);
/* oklch */ color: oklch(47.7% 0.208 276.3);
Tailwind
colors: {
  custom: {
    50: '#8a77de',
    500: '#4642ce',
    950: '#000000',
  },
}
SCSS
$custom: #4642ce;
$custom-light: #8a77de;
$custom-dark: #000000;
JSON
{
  "hex": "#4642ce",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 241.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.20823,
    "h": 276.3
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#4642CE
secondary
#D2D498
accent
#E246DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642CE

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

Preview Lab → · Contrast checker → · Palette generator →

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