#4642D3#4642D3

#4642D3 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.214 H 275.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4642D3
RGBrgb(70, 66, 211)
HSLhsl(242, 62%, 54%)
HSVhsv(242, 69%, 83%)
CMYKcmyk(66.8%, 68.7%, 0%, 17.3%)
CIE-LABlab(37.66, 46.08, -73.84)
CIE-LCHlch(37.66, 87.04, 301.96°)
OKLaboklab(48.2% 0.0222 -0.2133)
OKLCHoklch(48.2% 0.214 275.9)
XYZxyz(16.2280, 9.9002, 62.6711)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642D3 #CFD342
analogous
#4287D3 #4642D3 #8F42D3
triadic
#4642D3 #D34642 #42D346
tetradic
#4642D3 #D34287 #CFD342 #42D38F
square
#4642D3 #D34287 #CFD342 #42D38F
split-complementary
#4642D3 #D38F42 #87D342
monochromatic
#201D7D #2C29AF #4642D3 #7774DF #A7A5EA

Accessibility & contrast

On white

7.05
#4642D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4642D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642D3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642D3#FFFFFF#000000##FFFFFF
##4642D31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4642d3;
/* rgb */ color: rgb(70, 66, 211);
/* oklch */ color: oklch(48.2% 0.214 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b77e2',
    500: '#4642d3',
    950: '#000000',
  },
}
SCSS
$custom: #4642d3;
$custom-light: #8b77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4642d3",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 241.655,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.482,
    "c": 0.21442,
    "h": 275.9
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#4642D3
secondary
#D5D79A
accent
#E542E1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #4642D3

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

Preview Lab → · Contrast checker → · Palette generator →

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