#40486E#40486E

#40486E is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.065 H 274.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#40486E
RGBrgb(64, 72, 110)
HSLhsl(230, 26%, 34%)
HSVhsv(230, 42%, 43%)
CMYKcmyk(41.8%, 34.5%, 0%, 56.9%)
CIE-LABlab(31.46, 7.42, -23.02)
CIE-LCHlch(31.46, 24.18, 287.87°)
OKLaboklab(41.19% 0.0047 -0.0644)
OKLCHoklch(41.19% 0.065 274.2)
XYZxyz(7.2453, 6.8502, 15.6893)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40486E #6E6640
analogous
#405F6E #40486E #4F406E
triadic
#40486E #6E4048 #486E40
tetradic
#40486E #6E405F #6E6640 #406E4F
square
#40486E #6E405F #6E6640 #406E4F
split-complementary
#40486E #6E4F40 #5F6E40
monochromatic
#131521 #292F47 #40486E #576195 #7882B0

Accessibility & contrast

On white

8.86
#40486E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#40486E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40486E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40486E#FFFFFF#000000##FFFFFF
##40486E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C70
Deuteranopia (green-blind)
#38486D
Tritanopia (blue-blind)
#325056
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #40486e;
/* rgb */ color: rgb(64, 72, 110);
/* oklch */ color: oklch(41.2% 0.065 274.2);
Tailwind
colors: {
  custom: {
    50: '#777a97',
    500: '#40486e',
    950: '#000000',
  },
}
SCSS
$custom: #40486e;
$custom-light: #777a97;
$custom-dark: #000000;
JSON
{
  "hex": "#40486e",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 110
  },
  "hsl": {
    "h": 229.565,
    "s": 26.437,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.06458,
    "h": 274.2
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#40486E
secondary
#9B946E
accent
#B265C3
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090D
muted
#7B7B7E

Preview Lab

Preview with #40486E

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

Preview Lab → · Contrast checker → · Palette generator →

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