#464786#464786

#464786 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.9% C 0.103 H 280.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#464786
RGBrgb(70, 71, 134)
HSLhsl(239, 31%, 40%)
HSVhsv(239, 48%, 53%)
CMYKcmyk(47.8%, 47%, 0%, 47.5%)
CIE-LABlab(32.98, 17.44, -35.56)
CIE-LCHlch(32.98, 39.61, 296.13°)
OKLaboklab(42.9% 0.0186 -0.1008)
OKLCHoklch(42.9% 0.103 280.5)
XYZxyz(9.0808, 7.5293, 23.5245)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#464786 #868546
analogous
#466786 #464786 #654686
triadic
#464786 #864647 #478646
tetradic
#464786 #864667 #868546 #468665
square
#464786 #864667 #868546 #468665
split-complementary
#464786 #866546 #678646
monochromatic
#1C1C36 #31325E #464786 #5E5FAB #8687C0

Accessibility & contrast

On white

8.38
#464786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #464786
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##464786#FFFFFF#000000##FFFFFF
##4647861.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#305460
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #464786;
/* rgb */ color: rgb(70, 71, 134);
/* oklch */ color: oklch(42.9% 0.103 280.5);
Tailwind
colors: {
  custom: {
    50: '#7d7aa9',
    500: '#464786',
    950: '#000000',
  },
}
SCSS
$custom: #464786;
$custom-light: #7d7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#464786",
  "rgb": {
    "r": 70,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 239.063,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.10252,
    "h": 280.5
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #464786

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

Preview Lab → · Contrast checker → · Palette generator →

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