#4642D4#4642D4

#4642D4 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.216 H 275.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4642D4
RGBrgb(70, 66, 212)
HSLhsl(242, 63%, 55%)
HSVhsv(242, 69%, 83%)
CMYKcmyk(67%, 68.9%, 0%, 16.9%)
CIE-LABlab(37.75, 46.40, -74.27)
CIE-LCHlch(37.75, 87.58, 302.00°)
OKLaboklab(48.29% 0.022 -0.2145)
OKLCHoklch(48.29% 0.216 275.9)
XYZxyz(16.3538, 9.9505, 63.3334)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642D4 #D0D442
analogous
#4287D4 #4642D4 #8F42D4
triadic
#4642D4 #D44642 #42D446
tetradic
#4642D4 #D44287 #D0D442 #42D48F
square
#4642D4 #D44287 #D0D442 #42D48F
split-complementary
#4642D4 #D48F42 #87D442
monochromatic
#201D7F #2C28B1 #4642D4 #7774DF #A8A6EB

Accessibility & contrast

On white

7.02
#4642D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4642D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642D4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642D4#FFFFFF#000000##FFFFFF
##4642D41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#0052D1
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4642d4;
/* rgb */ color: rgb(70, 66, 212);
/* oklch */ color: oklch(48.3% 0.216 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b78e2',
    500: '#4642d4',
    950: '#000000',
  },
}
SCSS
$custom: #4642d4;
$custom-light: #8b78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4642d4",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 241.644,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.21565,
    "h": 275.9
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#4642D4
secondary
#D6D89A
accent
#E642E1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4642D4

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

Preview Lab → · Contrast checker → · Palette generator →

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