#4642CD#4642CD

#4642CD is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.6% C 0.207 H 276.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4642CD
RGBrgb(70, 66, 205)
HSLhsl(242, 58%, 53%)
HSVhsv(242, 68%, 80%)
CMYKcmyk(65.9%, 67.8%, 0%, 19.6%)
CIE-LABlab(37.12, 44.13, -71.26)
CIE-LCHlch(37.12, 83.82, 301.77°)
OKLaboklab(47.65% 0.023 -0.2057)
OKLCHoklch(47.65% 0.207 276.4)
XYZxyz(15.4898, 9.6050, 58.7834)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642CD #C9CD42
analogous
#4283CD #4642CD #8C42CD
triadic
#4642CD #CD4642 #42CD46
tetradic
#4642CD #CD4283 #C9CD42 #42CD8C
square
#4642CD #CD4283 #C9CD42 #42CD8C
split-complementary
#4642CD #CD8C42 #83CD42
monochromatic
#221F76 #2F2CA6 #4642CD #7572DA #A5A3E7

Accessibility & contrast

On white

7.19
#4642CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4642CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642CD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642CD#FFFFFF#000000##FFFFFF
##4642CD1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4642cd;
/* rgb */ color: rgb(70, 66, 205);
/* oklch */ color: oklch(47.6% 0.207 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a77dd',
    500: '#4642cd',
    950: '#000000',
  },
}
SCSS
$custom: #4642cd;
$custom-light: #8a77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4642cd",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 241.727,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.20699,
    "h": 276.4
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#4642CD
secondary
#D2D397
accent
#E146DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642CD

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

Preview Lab → · Contrast checker → · Palette generator →

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