#4642E1#4642E1

#4642E1 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.231 H 275.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4642E1
RGBrgb(70, 66, 225)
HSLhsl(242, 73%, 57%)
HSVhsv(242, 71%, 88%)
CMYKcmyk(68.9%, 70.7%, 0%, 11.8%)
CIE-LABlab(38.96, 50.57, -79.75)
CIE-LCHlch(38.96, 94.43, 302.38°)
OKLaboklab(49.52% 0.0201 -0.2305)
OKLCHoklch(49.52% 0.231 275)
XYZxyz(18.0601, 10.6331, 72.3202)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642E1 #DDE142
analogous
#428EE1 #4642E1 #9542E1
triadic
#4642E1 #E14642 #42E146
tetradic
#4642E1 #E1428E #DDE142 #42E195
square
#4642E1 #E1428E #DDE142 #42E195
split-complementary
#4642E1 #E19542 #8EE142
monochromatic
#1A1792 #241FC6 #4642E1 #7A77E9 #ADACF2

Accessibility & contrast

On white

6.72
#4642E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4642E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4642E1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642E1#FFFFFF#000000##FFFFFF
##4642E11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E6
Deuteranopia (green-blind)
#0054DE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4642e1;
/* rgb */ color: rgb(70, 66, 225);
/* oklch */ color: oklch(49.5% 0.231 275.0);
Tailwind
colors: {
  custom: {
    50: '#8e78ec',
    500: '#4642e1',
    950: '#000000',
  },
}
SCSS
$custom: #4642e1;
$custom-light: #8e78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4642e1",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 241.509,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.23139,
    "h": 275
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#4642E1
secondary
#DEE09F
accent
#EF38EB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4642E1

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

Preview Lab → · Contrast checker → · Palette generator →

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