#40907B#40907B

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

Color values

HEX#40907B
RGBrgb(64, 144, 123)
HSLhsl(164, 38%, 41%)
HSVhsv(164, 56%, 56%)
CMYKcmyk(55.6%, 0%, 14.6%, 43.5%)
CIE-LABlab(54.52, -29.84, 3.79)
CIE-LCHlch(54.52, 30.08, 172.77°)
OKLaboklab(59.71% -0.0849 0.0096)
OKLCHoklch(59.71% 0.085 173.6)
XYZxyz(15.6611, 22.4651, 22.2459)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40907B #904055
analogous
#409053 #40907B #407D90
triadic
#40907B #7B4090 #907B40
tetradic
#40907B #534090 #904055 #7D9040
square
#40907B #534090 #904055 #7D9040
split-complementary
#40907B #90407D #905340
monochromatic
#1A3B33 #2D6657 #40907B #58B59D #83C8B6

Accessibility & contrast

On white

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

On black

5.49
#40907B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40907B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40907B#FFFFFF#000000##000000
##40907B1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C887A
Deuteranopia (green-blind)
#7F7F7C
Tritanopia (blue-blind)
#15918A
Achromatopsia (no color)
#828282

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#40907B
secondary
#B27A88
accent
#5978CE
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #40907B

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

Preview Lab → · Contrast checker → · Palette generator →

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