#4642DD#4642DD

#4642DD is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.227 H 275.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4642DD
RGBrgb(70, 66, 221)
HSLhsl(242, 70%, 56%)
HSVhsv(242, 70%, 87%)
CMYKcmyk(68.3%, 70.1%, 0%, 13.3%)
CIE-LABlab(38.58, 49.30, -78.08)
CIE-LCHlch(38.58, 92.34, 302.27°)
OKLaboklab(49.14% 0.0207 -0.2256)
OKLCHoklch(49.14% 0.227 275.2)
XYZxyz(17.5208, 10.4174, 69.4800)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642DD #D9DD42
analogous
#428CDD #4642DD #9442DD
triadic
#4642DD #DD4642 #42DD46
tetradic
#4642DD #DD428C #D9DD42 #42DD94
square
#4642DD #DD428C #D9DD42 #42DD94
split-complementary
#4642DD #DD9442 #8CDD42
monochromatic
#1C198C #2622BF #4642DD #7976E6 #ACAAF0

Accessibility & contrast

On white

6.81
#4642DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4642DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4642DD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642DD#FFFFFF#000000##FFFFFF
##4642DD1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0054DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4642dd;
/* rgb */ color: rgb(70, 66, 221);
/* oklch */ color: oklch(49.1% 0.227 275.2);
Tailwind
colors: {
  custom: {
    50: '#8d78e9',
    500: '#4642dd',
    950: '#000000',
  },
}
SCSS
$custom: #4642dd;
$custom-light: #8d78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4642dd",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 241.548,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.22659,
    "h": 275.2
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#4642DD
secondary
#DCDD9D
accent
#EC3BE8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4642DD

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

Preview Lab → · Contrast checker → · Palette generator →

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