#40907C#40907C

#40907C is a mid, moderate teal. Relative luminance 0.225; OKLCH L 59.7% C 0.085 H 174.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#40907C
RGBrgb(64, 144, 124)
HSLhsl(165, 38%, 41%)
HSVhsv(165, 56%, 56%)
CMYKcmyk(55.6%, 0%, 13.9%, 43.5%)
CIE-LABlab(54.54, -29.59, 3.25)
CIE-LCHlch(54.54, 29.76, 173.73°)
OKLaboklab(59.74% -0.0844 0.0081)
OKLCHoklch(59.74% 0.085 174.5)
XYZxyz(15.7241, 22.4903, 22.5773)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40907C #904054
analogous
#409054 #40907C #407C90
triadic
#40907C #7C4090 #907C40
tetradic
#40907C #544090 #904054 #7C9040
square
#40907C #544090 #904054 #7C9040
split-complementary
#40907C #90407C #905440
monochromatic
#1A3B33 #2D6658 #40907C #58B59E #83C8B6

Accessibility & contrast

On white

3.82
#40907C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#40907C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40907C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40907C#FFFFFF#000000##000000
##40907C1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B887B
Deuteranopia (green-blind)
#7F7F7D
Tritanopia (blue-blind)
#14928A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #40907c;
/* rgb */ color: rgb(64, 144, 124);
/* oklch */ color: oklch(59.7% 0.085 174.5);
Tailwind
colors: {
  custom: {
    50: '#7cb1a1',
    500: '#40907c',
    950: '#000000',
  },
}
SCSS
$custom: #40907c;
$custom-light: #7cb1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40907c",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 124
  },
  "hsl": {
    "h": 165,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.08478,
    "h": 174.5
  },
  "luminance": 0.22492
}

Semantic roles & 50–950 ramp

primary
#40907C
secondary
#B27A88
accent
#5977CE
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#0A100F
muted
#7C7F7E

Preview Lab

Preview with #40907C

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

Preview Lab → · Contrast checker → · Palette generator →

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