#4642CC#4642CC

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

Color values

HEX#4642CC
RGBrgb(70, 66, 204)
HSLhsl(242, 58%, 53%)
HSVhsv(242, 68%, 80%)
CMYKcmyk(65.7%, 67.6%, 0%, 20%)
CIE-LABlab(37.03, 43.80, -70.83)
CIE-LCHlch(37.03, 83.28, 301.74°)
OKLaboklab(47.56% 0.0231 -0.2044)
OKLCHoklch(47.56% 0.206 276.4)
XYZxyz(15.3695, 9.5568, 58.1497)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642CC #C8CC42
analogous
#4283CC #4642CC #8B42CC
triadic
#4642CC #CC4642 #42CC46
tetradic
#4642CC #CC4283 #C8CC42 #42CC8B
square
#4642CC #CC4283 #C8CC42 #42CC8B
split-complementary
#4642CC #CC8B42 #83CC42
monochromatic
#221F74 #302CA4 #4642CC #7572D9 #A4A2E6

Accessibility & contrast

On white

7.21
#4642CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4642CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642CC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642CC#FFFFFF#000000##FFFFFF
##4642CC1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4642cc;
/* rgb */ color: rgb(70, 66, 204);
/* oklch */ color: oklch(47.6% 0.206 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a77dd',
    500: '#4642cc',
    950: '#000000',
  },
}
SCSS
$custom: #4642cc;
$custom-light: #8a77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4642cc",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 241.739,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47556,
    "c": 0.20574,
    "h": 276.4
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#4642CC
secondary
#D1D397
accent
#E147DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642CC

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

Preview Lab → · Contrast checker → · Palette generator →

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