#4642D9#4642D9

#4642D9 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.222 H 275.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4642D9
RGBrgb(70, 66, 217)
HSLhsl(242, 67%, 55%)
HSVhsv(242, 70%, 85%)
CMYKcmyk(67.7%, 69.6%, 0%, 14.9%)
CIE-LABlab(38.21, 48.01, -76.40)
CIE-LCHlch(38.21, 90.23, 302.15°)
OKLaboklab(48.76% 0.0213 -0.2207)
OKLCHoklch(48.76% 0.222 275.5)
XYZxyz(16.9943, 10.2067, 66.7067)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642D9 #D5D942
analogous
#428AD9 #4642D9 #9142D9
triadic
#4642D9 #D94642 #42D946
tetradic
#4642D9 #D9428A #D5D942 #42D991
square
#4642D9 #D9428A #D5D942 #42D991
split-complementary
#4642D9 #D99142 #8AD942
monochromatic
#1E1B86 #2925B9 #4642D9 #7875E3 #AAA8ED

Accessibility & contrast

On white

6.90
#4642D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4642D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4642D9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642D9#FFFFFF#000000##FFFFFF
##4642D91.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0053D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4642d9;
/* rgb */ color: rgb(70, 66, 217);
/* oklch */ color: oklch(48.8% 0.222 275.5);
Tailwind
colors: {
  custom: {
    50: '#8c78e6',
    500: '#4642d9',
    950: '#000000',
  },
}
SCSS
$custom: #4642d9;
$custom-light: #8c78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4642d9",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 241.589,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.22176,
    "h": 275.5
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#4642D9
secondary
#D9DB9C
accent
#E93EE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4642D9

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

Preview Lab → · Contrast checker → · Palette generator →

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