#4645C2#4645C2

#4645C2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.190 H 276.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4645C2
RGBrgb(70, 69, 194)
HSLhsl(240, 51%, 52%)
HSVhsv(240, 64%, 76%)
CMYKcmyk(63.9%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.84, 38.72, -65.32)
CIE-LCHlch(36.84, 75.93, 300.66°)
OKLaboklab(47.15% 0.0219 -0.1883)
OKLCHoklch(47.15% 0.19 276.6)
XYZxyz(14.3883, 9.4522, 52.0947)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4645C2 #C1C245
analogous
#4583C2 #4645C2 #8545C2
triadic
#4645C2 #C24645 #45C246
tetradic
#4645C2 #C24583 #C1C245 #45C285
square
#4645C2 #C24583 #C1C245 #45C285
split-complementary
#4645C2 #C28545 #83C245
monochromatic
#23236A #333298 #4645C2 #7473D1 #A2A1E0

Accessibility & contrast

On white

7.26
#4645C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4645C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4645C2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4645C2#FFFFFF#000000##FFFFFF
##4645C21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4645c2;
/* rgb */ color: rgb(70, 69, 194);
/* oklch */ color: oklch(47.1% 0.190 276.6);
Tailwind
colors: {
  custom: {
    50: '#8879d5',
    500: '#4645c2',
    950: '#000000',
  },
}
SCSS
$custom: #4645c2;
$custom-light: #8879d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4645c2",
  "rgb": {
    "r": 70,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 240.48,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.18957,
    "h": 276.6
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#4645C2
secondary
#CCCD96
accent
#DA4ED9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4645C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4645C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva