#4642DA#4642DA

#4642DA is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.223 H 275.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4642DA
RGBrgb(70, 66, 218)
HSLhsl(242, 67%, 56%)
HSVhsv(242, 70%, 85%)
CMYKcmyk(67.9%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.30, 48.33, -76.82)
CIE-LCHlch(38.30, 90.76, 302.18°)
OKLaboklab(48.85% 0.0212 -0.222)
OKLCHoklch(48.85% 0.223 275.4)
XYZxyz(17.1247, 10.2589, 67.3938)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642DA #D6DA42
analogous
#428ADA #4642DA #9242DA
triadic
#4642DA #DA4642 #42DA46
tetradic
#4642DA #DA428A #D6DA42 #42DA92
square
#4642DA #DA428A #D6DA42 #42DA92
split-complementary
#4642DA #DA9242 #8ADA42
monochromatic
#1D1A87 #2824BA #4642DA #7875E4 #AAA8EE

Accessibility & contrast

On white

6.88
#4642DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4642DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4642DA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642DA#FFFFFF#000000##FFFFFF
##4642DA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0053D7
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4642da;
/* rgb */ color: rgb(70, 66, 218);
/* oklch */ color: oklch(48.9% 0.223 275.4);
Tailwind
colors: {
  custom: {
    50: '#8c78e7',
    500: '#4642da',
    950: '#000000',
  },
}
SCSS
$custom: #4642da;
$custom-light: #8c78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4642da",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 241.579,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.22297,
    "h": 275.4
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#4642DA
secondary
#DADB9C
accent
#EA3EE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4642DA

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

Preview Lab → · Contrast checker → · Palette generator →

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