#464787#464787

#464787 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.0% C 0.104 H 280.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#464787
RGBrgb(70, 71, 135)
HSLhsl(239, 32%, 40%)
HSVhsv(239, 48%, 53%)
CMYKcmyk(48.1%, 47.4%, 0%, 47.1%)
CIE-LABlab(33.04, 17.77, -36.08)
CIE-LCHlch(33.04, 40.21, 296.22°)
OKLaboklab(42.97% 0.0188 -0.1023)
OKLCHoklch(42.97% 0.104 280.4)
XYZxyz(9.1509, 7.5574, 23.8935)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464787 #878646
analogous
#466787 #464787 #654687
triadic
#464787 #874647 #478746
tetradic
#464787 #874667 #878646 #468765
square
#464787 #874667 #878646 #468765
split-complementary
#464787 #876546 #678746
monochromatic
#1C1D36 #31325F #464787 #5E60AC #8788C1

Accessibility & contrast

On white

8.36
#464787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#464787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #464787
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464787#FFFFFF#000000##FFFFFF
##4647871.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#2F5460
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #464787;
/* rgb */ color: rgb(70, 71, 135);
/* oklch */ color: oklch(43.0% 0.104 280.4);
Tailwind
colors: {
  custom: {
    50: '#7e7aaa',
    500: '#464787',
    950: '#000000',
  },
}
SCSS
$custom: #464787;
$custom-light: #7e7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#464787",
  "rgb": {
    "r": 70,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 239.077,
    "s": 31.707,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4297,
    "c": 0.10405,
    "h": 280.4
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#464787
secondary
#ACAB7D
accent
#C660C8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #464787

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

Preview Lab → · Contrast checker → · Palette generator →

#464787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva