#4640AE#4640AE

#4640AE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.169 H 279.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4640AE
RGBrgb(70, 64, 174)
HSLhsl(243, 46%, 47%)
HSVhsv(243, 63%, 68%)
CMYKcmyk(59.8%, 63.2%, 0%, 31.8%)
CIE-LABlab(34.03, 35.15, -58.10)
CIE-LCHlch(34.03, 67.91, 301.17°)
OKLaboklab(44.59% 0.0278 -0.1671)
OKLCHoklch(44.59% 0.169 279.4)
XYZxyz(11.9967, 8.0240, 40.9528)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640AE #A8AE40
analogous
#4071AE #4640AE #7D40AE
triadic
#4640AE #AE4640 #40AE46
tetradic
#4640AE #AE4071 #A8AE40 #40AE7D
square
#4640AE #AE4071 #A8AE40 #40AE7D
split-complementary
#4640AE #AE7D40 #71AE40
monochromatic
#221F55 #343081 #4640AE #6A65C6 #9592D7

Accessibility & contrast

On white

8.06
#4640AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4640AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640AE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640AE#FFFFFF#000000##FFFFFF
##4640AE1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4640ae;
/* rgb */ color: rgb(70, 64, 174);
/* oklch */ color: oklch(44.6% 0.169 279.4);
Tailwind
colors: {
  custom: {
    50: '#8475c7',
    500: '#4640ae',
    950: '#000000',
  },
}
SCSS
$custom: #4640ae;
$custom-light: #8475c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4640ae",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 243.273,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44587,
    "c": 0.16943,
    "h": 279.4
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#4640AE
secondary
#BFC288
accent
#D652CF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4640AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4640AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva