#40907E#40907E

#40907E is a mid, moderate teal. Relative luminance 0.225; OKLCH L 59.8% C 0.084 H 176.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#40907E
RGBrgb(64, 144, 126)
HSLhsl(167, 38%, 41%)
HSVhsv(167, 56%, 56%)
CMYKcmyk(55.6%, 0%, 12.5%, 43.5%)
CIE-LABlab(54.60, -29.07, 2.18)
CIE-LCHlch(54.60, 29.16, 175.72°)
OKLaboklab(59.81% -0.0834 0.0053)
OKLCHoklch(59.81% 0.084 176.4)
XYZxyz(15.8518, 22.5414, 23.2502)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40907E #904052
analogous
#409056 #40907E #407A90
triadic
#40907E #7E4090 #907E40
tetradic
#40907E #564090 #904052 #7A9040
square
#40907E #564090 #904052 #7A9040
split-complementary
#40907E #90407A #905640
monochromatic
#1A3B34 #2D6659 #40907E #58B5A0 #83C8B8

Accessibility & contrast

On white

3.81
#40907E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#40907E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40907E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40907E#FFFFFF#000000##000000
##40907E1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B887D
Deuteranopia (green-blind)
#7F7F7F
Tritanopia (blue-blind)
#11928B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40907e;
/* rgb */ color: rgb(64, 144, 126);
/* oklch */ color: oklch(59.8% 0.084 176.4);
Tailwind
colors: {
  custom: {
    50: '#7cb1a3',
    500: '#40907e',
    950: '#000000',
  },
}
SCSS
$custom: #40907e;
$custom-light: #7cb1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40907e",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 126
  },
  "hsl": {
    "h": 166.5,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.0836,
    "h": 176.4
  },
  "luminance": 0.22543
}

Semantic roles & 50–950 ramp

primary
#40907E
secondary
#B27A86
accent
#5974CE
background
#F7FAFA
surface
#EEF5F3
border
#C9CFCD
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #40907E

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

Preview Lab → · Contrast checker → · Palette generator →

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