#4642CF#4642CF

#4642CF is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.209 H 276.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4642CF
RGBrgb(70, 66, 207)
HSLhsl(242, 59%, 54%)
HSVhsv(242, 68%, 81%)
CMYKcmyk(66.2%, 68.1%, 0%, 18.8%)
CIE-LABlab(37.30, 44.78, -72.13)
CIE-LCHlch(37.30, 84.90, 301.83°)
OKLaboklab(47.83% 0.0227 -0.2082)
OKLCHoklch(47.83% 0.209 276.2)
XYZxyz(15.7328, 9.7021, 60.0630)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642CF #CBCF42
analogous
#4284CF #4642CF #8C42CF
triadic
#4642CF #CF4642 #42CF46
tetradic
#4642CF #CF4284 #CBCF42 #42CF8C
square
#4642CF #CF4284 #CBCF42 #42CF8C
split-complementary
#4642CF #CF8C42 #84CF42
monochromatic
#211F78 #2E2BA9 #4642CF #7673DB #A6A4E8

Accessibility & contrast

On white

7.14
#4642CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4642CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642CF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642CF#FFFFFF#000000##FFFFFF
##4642CF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4642cf;
/* rgb */ color: rgb(70, 66, 207);
/* oklch */ color: oklch(47.8% 0.209 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a77df',
    500: '#4642cf',
    950: '#000000',
  },
}
SCSS
$custom: #4642cf;
$custom-light: #8a77df;
$custom-dark: #000000;
JSON
{
  "hex": "#4642cf",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 241.702,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.20948,
    "h": 276.2
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#4642CF
secondary
#D3D598
accent
#E345DE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642CF

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

Preview Lab → · Contrast checker → · Palette generator →

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