#4640AA#4640AA

#4640AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.164 H 279.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4640AA
RGBrgb(70, 64, 170)
HSLhsl(243, 45%, 46%)
HSVhsv(243, 62%, 67%)
CMYKcmyk(58.8%, 62.4%, 0%, 33.3%)
CIE-LABlab(33.71, 33.83, -56.24)
CIE-LCHlch(33.71, 65.63, 301.03°)
OKLaboklab(44.25% 0.0281 -0.1617)
OKLCHoklch(44.25% 0.164 279.8)
XYZxyz(11.6126, 7.8704, 38.9296)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640AA #A4AA40
analogous
#406FAA #4640AA #7B40AA
triadic
#4640AA #AA4640 #40AA46
tetradic
#4640AA #AA406F #A4AA40 #40AA7B
square
#4640AA #AA406F #A4AA40 #40AA7B
split-complementary
#4640AA #AA7B40 #6FAA40
monochromatic
#211F51 #342F7E #4640AA #6863C4 #938FD5

Accessibility & contrast

On white

8.16
#4640AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4640AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4640AA#FFFFFF#000000##FFFFFF
##4640AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#045A6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4640aa;
/* rgb */ color: rgb(70, 64, 170);
/* oklch */ color: oklch(44.3% 0.164 279.8);
Tailwind
colors: {
  custom: {
    50: '#8475c4',
    500: '#4640aa',
    950: '#000000',
  },
}
SCSS
$custom: #4640aa;
$custom-light: #8475c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4640aa",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 243.396,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.16408,
    "h": 279.8
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#4640AA
secondary
#BDC086
accent
#D553CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4640AA

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

Preview Lab → · Contrast checker → · Palette generator →

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