#40907D#40907D

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

Color values

HEX#40907D
RGBrgb(64, 144, 125)
HSLhsl(166, 38%, 41%)
HSVhsv(166, 56%, 56%)
CMYKcmyk(55.6%, 0%, 13.2%, 43.5%)
CIE-LABlab(54.57, -29.33, 2.71)
CIE-LCHlch(54.57, 29.46, 174.72°)
OKLaboklab(59.77% -0.0839 0.0067)
OKLCHoklch(59.77% 0.084 175.4)
XYZxyz(15.7876, 22.5157, 22.9120)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40907D #904053
analogous
#409055 #40907D #407B90
triadic
#40907D #7D4090 #907D40
tetradic
#40907D #554090 #904053 #7B9040
square
#40907D #554090 #904053 #7B9040
split-complementary
#40907D #90407B #905540
monochromatic
#1A3B33 #2D6658 #40907D #58B59F #83C8B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40907D#FFFFFF#000000##000000
##40907D1.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)
#8B887C
Deuteranopia (green-blind)
#7F7F7E
Tritanopia (blue-blind)
#13928A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40907d;
/* rgb */ color: rgb(64, 144, 125);
/* oklch */ color: oklch(59.8% 0.084 175.4);
Tailwind
colors: {
  custom: {
    50: '#7cb1a2',
    500: '#40907d',
    950: '#000000',
  },
}
SCSS
$custom: #40907d;
$custom-light: #7cb1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40907d",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 125
  },
  "hsl": {
    "h": 165.75,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.08418,
    "h": 175.4
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#40907D
secondary
#B27A87
accent
#5975CE
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#0A100F
muted
#7C7F7E

Preview Lab

Preview with #40907D

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

Preview Lab → · Contrast checker → · Palette generator →

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