#4642BD#4642BD

#4642BD is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.187 H 277.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4642BD
RGBrgb(70, 66, 189)
HSLhsl(242, 48%, 50%)
HSVhsv(242, 65%, 74%)
CMYKcmyk(63%, 65.1%, 0%, 25.9%)
CIE-LABlab(35.74, 38.88, -64.20)
CIE-LCHlch(35.74, 75.05, 301.20°)
OKLaboklab(46.22% 0.0248 -0.185)
OKLCHoklch(46.22% 0.187 277.6)
XYZxyz(13.6563, 8.8716, 49.1270)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642BD #B9BD42
analogous
#427CBD #4642BD #8342BD
triadic
#4642BD #BD4642 #42BD46
tetradic
#4642BD #BD427C #B9BD42 #42BD83
square
#4642BD #BD427C #B9BD42 #42BD83
split-complementary
#4642BD #BD8342 #7CBD42
monochromatic
#242262 #353290 #4642BD #726FCD #9F9DDD

Accessibility & contrast

On white

7.57
#4642BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4642BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642BD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642BD#FFFFFF#000000##FFFFFF
##4642BD1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4642bd;
/* rgb */ color: rgb(70, 66, 189);
/* oklch */ color: oklch(46.2% 0.187 277.6);
Tailwind
colors: {
  custom: {
    50: '#8777d2',
    500: '#4642bd',
    950: '#000000',
  },
}
SCSS
$custom: #4642bd;
$custom-light: #8777d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4642bd",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 241.951,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.18666,
    "h": 277.6
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#4642BD
secondary
#C7C992
accent
#D850D3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4642BD

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

Preview Lab → · Contrast checker → · Palette generator →

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