#4642D2#4642D2

#4642D2 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.1% C 0.213 H 276.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4642D2
RGBrgb(70, 66, 210)
HSLhsl(242, 62%, 54%)
HSVhsv(242, 69%, 82%)
CMYKcmyk(66.7%, 68.6%, 0%, 17.6%)
CIE-LABlab(37.57, 45.75, -73.42)
CIE-LCHlch(37.57, 86.51, 301.93°)
OKLaboklab(48.11% 0.0223 -0.212)
OKLCHoklch(48.11% 0.213 276)
XYZxyz(16.1030, 9.8502, 62.0129)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642D2 #CED242
analogous
#4286D2 #4642D2 #8E42D2
triadic
#4642D2 #D24642 #42D246
tetradic
#4642D2 #D24286 #CED242 #42D28E
square
#4642D2 #D24286 #CED242 #42D28E
split-complementary
#4642D2 #D28E42 #86D242
monochromatic
#201E7C #2D29AD #4642D2 #7673DE #A7A5EA

Accessibility & contrast

On white

7.07
#4642D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4642D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642D2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642D2#FFFFFF#000000##FFFFFF
##4642D21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4642d2;
/* rgb */ color: rgb(70, 66, 210);
/* oklch */ color: oklch(48.1% 0.213 276.0);
Tailwind
colors: {
  custom: {
    50: '#8b77e1',
    500: '#4642d2',
    950: '#000000',
  },
}
SCSS
$custom: #4642d2;
$custom-light: #8b77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4642d2",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 241.667,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.21319,
    "h": 276
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#4642D2
secondary
#D5D799
accent
#E543E0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4642D2

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

Preview Lab → · Contrast checker → · Palette generator →

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