#40486A#40486A

#40486A is a dark, muted blue. Relative luminance 0.068; OKLCH L 41.0% C 0.058 H 273.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#40486A
RGBrgb(64, 72, 106)
HSLhsl(229, 25%, 33%)
HSVhsv(229, 40%, 42%)
CMYKcmyk(39.6%, 32.1%, 0%, 58.4%)
CIE-LABlab(31.27, 6.18, -20.80)
CIE-LCHlch(31.27, 21.70, 286.54°)
OKLaboklab(40.97% 0.0035 -0.058)
OKLCHoklch(40.97% 0.058 273.4)
XYZxyz(7.0325, 6.7650, 14.5681)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40486A #6A6240
analogous
#405D6A #40486A #4D406A
triadic
#40486A #6A4048 #486A40
tetradic
#40486A #6A405D #6A6240 #406A4D
square
#40486A #6A405D #6A6240 #406A4D
split-complementary
#40486A #6A4D40 #5D6A40
monochromatic
#12141E #292E44 #40486A #576290 #7782AD

Accessibility & contrast

On white

8.92
#40486A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#40486A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40486A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40486A#FFFFFF#000000##FFFFFF
##40486A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4B6B
Deuteranopia (green-blind)
#3A4869
Tritanopia (blue-blind)
#334F54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #40486a;
/* rgb */ color: rgb(64, 72, 106);
/* oklch */ color: oklch(41.0% 0.058 273.4);
Tailwind
colors: {
  custom: {
    50: '#767a94',
    500: '#40486a',
    950: '#000000',
  },
}
SCSS
$custom: #40486a;
$custom-light: #767a94;
$custom-dark: #000000;
JSON
{
  "hex": "#40486a",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 106
  },
  "hsl": {
    "h": 228.571,
    "s": 24.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40968,
    "c": 0.05811,
    "h": 273.4
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#40486A
secondary
#98906D
accent
#B067C1
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#08090D
muted
#7B7B7E

Preview Lab

Preview with #40486A

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

Preview Lab → · Contrast checker → · Palette generator →

#40486A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva