#4642D6#4642D6

#4642D6 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.218 H 275.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4642D6
RGBrgb(70, 66, 214)
HSLhsl(242, 64%, 55%)
HSVhsv(242, 69%, 84%)
CMYKcmyk(67.3%, 69.2%, 0%, 16.1%)
CIE-LABlab(37.94, 47.05, -75.12)
CIE-LCHlch(37.94, 88.64, 302.06°)
OKLaboklab(48.48% 0.0217 -0.217)
OKLCHoklch(48.48% 0.218 275.7)
XYZxyz(16.6076, 10.0521, 64.6703)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642D6 #D2D642
analogous
#4288D6 #4642D6 #9042D6
triadic
#4642D6 #D64642 #42D646
tetradic
#4642D6 #D64288 #D2D642 #42D690
square
#4642D6 #D64288 #D2D642 #42D690
split-complementary
#4642D6 #D69042 #88D642
monochromatic
#1F1C82 #2B27B4 #4642D6 #7774E1 #A8A7EC

Accessibility & contrast

On white

6.97
#4642D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4642D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4642D6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642D6#FFFFFF#000000##FFFFFF
##4642D61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DA
Deuteranopia (green-blind)
#0053D3
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4642d6;
/* rgb */ color: rgb(70, 66, 214);
/* oklch */ color: oklch(48.5% 0.218 275.7);
Tailwind
colors: {
  custom: {
    50: '#8c78e4',
    500: '#4642d6',
    950: '#000000',
  },
}
SCSS
$custom: #4642d6;
$custom-light: #8c78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4642d6",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 214
  },
  "hsl": {
    "h": 241.622,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.2181,
    "h": 275.7
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#4642D6
secondary
#D7D99B
accent
#E740E3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4642D6

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

Preview Lab → · Contrast checker → · Palette generator →

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