#4642B5#4642B5

#4642B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.176 H 278.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4642B5
RGBrgb(70, 66, 181)
HSLhsl(242, 47%, 48%)
HSVhsv(242, 64%, 71%)
CMYKcmyk(61.3%, 63.5%, 0%, 29%)
CIE-LABlab(35.07, 36.23, -60.57)
CIE-LCHlch(35.07, 70.58, 300.89°)
OKLaboklab(45.52% 0.0255 -0.1744)
OKLCHoklch(45.52% 0.176 278.3)
XYZxyz(12.8118, 8.5337, 44.6791)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4642B5 #B1B542
analogous
#4277B5 #4642B5 #7F42B5
triadic
#4642B5 #B54642 #42B546
tetradic
#4642B5 #B54277 #B1B542 #42B57F
square
#4642B5 #B54277 #B1B542 #42B57F
split-complementary
#4642B5 #B57F42 #77B542
monochromatic
#23215B #353288 #4642B5 #6E6BC9 #9A98D9

Accessibility & contrast

On white

7.76
#4642B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4642B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4642B5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4642B5#FFFFFF#000000##FFFFFF
##4642B51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4642b5;
/* rgb */ color: rgb(70, 66, 181);
/* oklch */ color: oklch(45.5% 0.176 278.3);
Tailwind
colors: {
  custom: {
    50: '#8577cc',
    500: '#4642b5',
    950: '#000000',
  },
}
SCSS
$custom: #4642b5;
$custom-light: #8577cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4642b5",
  "rgb": {
    "r": 70,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 242.087,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.17621,
    "h": 278.3
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#4642B5
secondary
#C3C58E
accent
#D652D2
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4642B5

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

Preview Lab → · Contrast checker → · Palette generator →

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