#40436D#40436D

#40436D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.071 H 279.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#40436D
RGBrgb(64, 67, 109)
HSLhsl(236, 26%, 34%)
HSVhsv(236, 41%, 43%)
CMYKcmyk(41.3%, 38.5%, 0%, 57.3%)
CIE-LABlab(29.93, 10.41, -24.79)
CIE-LCHlch(29.93, 26.88, 292.78°)
OKLaboklab(39.99% 0.0117 -0.0695)
OKLCHoklch(39.99% 0.071 279.6)
XYZxyz(6.8810, 6.2081, 15.3008)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40436D #6D6A40
analogous
#405A6D #40436D #54406D
triadic
#40436D #6D4043 #436D40
tetradic
#40436D #6D405A #6D6A40 #406D54
square
#40436D #6D405A #6D6A40 #406D54
split-complementary
#40436D #6D5440 #5A6D40
monochromatic
#131420 #292B46 #40436D #575B94 #787CB0

Accessibility & contrast

On white

9.37
#40436D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#40436D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40436D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40436D#FFFFFF#000000##FFFFFF
##40436D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#334B53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #40436d;
/* rgb */ color: rgb(64, 67, 109);
/* oklch */ color: oklch(40.0% 0.071 279.6);
Tailwind
colors: {
  custom: {
    50: '#777797',
    500: '#40436d',
    950: '#000000',
  },
}
SCSS
$custom: #40436d;
$custom-light: #777797;
$custom-dark: #000000;
JSON
{
  "hex": "#40436d",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 109
  },
  "hsl": {
    "h": 236,
    "s": 26.012,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39989,
    "c": 0.07052,
    "h": 279.6
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#40436D
secondary
#9B986E
accent
#BC65C2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #40436D

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

Preview Lab → · Contrast checker → · Palette generator →

#40436D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva