#4642CA#4642CA

#4642CA is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.4% C 0.203 H 276.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4642CA
RGBrgb(70, 66, 202)
HSLhsl(242, 56%, 53%)
HSVhsv(242, 67%, 79%)
CMYKcmyk(65.3%, 67.3%, 0%, 20.8%)
CIE-LABlab(36.86, 43.15, -69.95)
CIE-LCHlch(36.86, 82.19, 301.67°)
OKLaboklab(47.37% 0.0234 -0.2019)
OKLCHoklch(47.37% 0.203 276.6)
XYZxyz(15.1312, 9.4615, 56.8945)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642CA #C6CA42
analogous
#4282CA #4642CA #8A42CA
triadic
#4642CA #CA4642 #42CA46
tetradic
#4642CA #CA4282 #C6CA42 #42CA8A
square
#4642CA #CA4282 #C6CA42 #42CA8A
split-complementary
#4642CA #CA8A42 #82CA42
monochromatic
#222072 #312DA2 #4642CA #7572D7 #A4A2E5

Accessibility & contrast

On white

7.26
#4642CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4642CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642CA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642CA#FFFFFF#000000##FFFFFF
##4642CA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4642ca;
/* rgb */ color: rgb(70, 66, 202);
/* oklch */ color: oklch(47.4% 0.203 276.6);
Tailwind
colors: {
  custom: {
    50: '#8977db',
    500: '#4642ca',
    950: '#000000',
  },
}
SCSS
$custom: #4642ca;
$custom-light: #8977db;
$custom-dark: #000000;
JSON
{
  "hex": "#4642ca",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 241.765,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.20324,
    "h": 276.6
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#4642CA
secondary
#D0D196
accent
#DF48DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642CA

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

Preview Lab → · Contrast checker → · Palette generator →

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