#4640AF#4640AF

#4640AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.171 H 279.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4640AF
RGBrgb(70, 64, 175)
HSLhsl(243, 46%, 47%)
HSVhsv(243, 63%, 69%)
CMYKcmyk(60%, 63.4%, 0%, 31.4%)
CIE-LABlab(34.11, 35.48, -58.57)
CIE-LCHlch(34.11, 68.48, 301.21°)
OKLaboklab(44.67% 0.0277 -0.1685)
OKLCHoklch(44.67% 0.171 279.3)
XYZxyz(12.0946, 8.0632, 41.4681)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640AF #A9AF40
analogous
#4072AF #4640AF #7E40AF
triadic
#4640AF #AF4640 #40AF46
tetradic
#4640AF #AF4072 #A9AF40 #40AF7E
square
#4640AF #AF4072 #A9AF40 #40AF7E
split-complementary
#4640AF #AF7E40 #72AF40
monochromatic
#221F55 #343082 #4640AF #6B65C7 #9692D7

Accessibility & contrast

On white

8.04
#4640AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4640AF#FFFFFF#000000##FFFFFF
##4640AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4640af;
/* rgb */ color: rgb(70, 64, 175);
/* oklch */ color: oklch(44.7% 0.171 279.3);
Tailwind
colors: {
  custom: {
    50: '#8475c8',
    500: '#4640af',
    950: '#000000',
  },
}
SCSS
$custom: #4640af;
$custom-light: #8475c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4640af",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 243.243,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.17076,
    "h": 279.3
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4640AF

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

Preview Lab → · Contrast checker → · Palette generator →

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