#4642D7#4642D7

#4642D7 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.219 H 275.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4642D7
RGBrgb(70, 66, 215)
HSLhsl(242, 65%, 55%)
HSVhsv(242, 69%, 84%)
CMYKcmyk(67.4%, 69.3%, 0%, 15.7%)
CIE-LABlab(38.03, 47.37, -75.55)
CIE-LCHlch(38.03, 89.17, 302.09°)
OKLaboklab(48.57% 0.0216 -0.2182)
OKLCHoklch(48.57% 0.219 275.7)
XYZxyz(16.7357, 10.1033, 65.3450)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642D7 #D3D742
analogous
#4288D7 #4642D7 #9142D7
triadic
#4642D7 #D74642 #42D746
tetradic
#4642D7 #D74288 #D3D742 #42D791
square
#4642D7 #D74288 #D3D742 #42D791
split-complementary
#4642D7 #D79142 #88D742
monochromatic
#1E1C83 #2A26B5 #4642D7 #7775E2 #A9A7EC

Accessibility & contrast

On white

6.95
#4642D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4642D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4642D7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642D7#FFFFFF#000000##FFFFFF
##4642D71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DB
Deuteranopia (green-blind)
#0053D4
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4642d7;
/* rgb */ color: rgb(70, 66, 215);
/* oklch */ color: oklch(48.6% 0.219 275.7);
Tailwind
colors: {
  custom: {
    50: '#8c78e5',
    500: '#4642d7',
    950: '#000000',
  },
}
SCSS
$custom: #4642d7;
$custom-light: #8c78e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4642d7",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 241.611,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.21932,
    "h": 275.7
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#4642D7
secondary
#D8DA9B
accent
#E840E4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4642D7

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

Preview Lab → · Contrast checker → · Palette generator →

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