#40846F#40846F

#40846F is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.3% C 0.077 H 170.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#40846F
RGBrgb(64, 132, 111)
HSLhsl(161, 35%, 38%)
HSVhsv(161, 52%, 52%)
CMYKcmyk(51.5%, 0%, 15.9%, 48.2%)
CIE-LABlab(50.38, -26.97, 4.77)
CIE-LCHlch(50.38, 27.39, 169.96°)
OKLaboklab(56.25% -0.0763 0.0122)
OKLCHoklch(56.25% 0.077 170.9)
XYZxyz(13.2336, 18.7391, 17.9555)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40846F #844055
analogous
#40844D #40846F #407784
triadic
#40846F #6F4084 #846F40
tetradic
#40846F #4D4084 #844055 #778440
square
#40846F #4D4084 #844055 #778440
split-complementary
#40846F #844077 #844D40
monochromatic
#18322A #2C5B4C #40846F #55AC91 #7EC0AC

Accessibility & contrast

On white

4.42
#40846F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#40846F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40846F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40846F#FFFFFF#000000##000000
##40846F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817C6E
Deuteranopia (green-blind)
#767570
Tritanopia (blue-blind)
#25857E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #40846f;
/* rgb */ color: rgb(64, 132, 111);
/* oklch */ color: oklch(56.3% 0.077 170.9);
Tailwind
colors: {
  custom: {
    50: '#7aa898',
    500: '#40846f',
    950: '#000000',
  },
}
SCSS
$custom: #40846f;
$custom-light: #7aa898;
$custom-dark: #000000;
JSON
{
  "hex": "#40846f",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 111
  },
  "hsl": {
    "h": 161.471,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.07725,
    "h": 170.9
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#40846F
secondary
#AB7586
accent
#5D7FCB
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A0F0D
muted
#7C7F7E

Preview Lab

Preview with #40846F

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

Preview Lab → · Contrast checker → · Palette generator →

#40846F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva