#40918C#40918C

#40918C is a mid, moderate teal. Relative luminance 0.232; OKLCH L 60.5% C 0.079 H 189.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#40918C
RGBrgb(64, 145, 140)
HSLhsl(176, 39%, 41%)
HSVhsv(176, 56%, 57%)
CMYKcmyk(55.9%, 0%, 3.4%, 43.1%)
CIE-LABlab(55.31, -25.82, -4.83)
CIE-LCHlch(55.31, 26.27, 190.59°)
OKLaboklab(60.52% -0.078 -0.0135)
OKLCHoklch(60.52% 0.079 189.8)
XYZxyz(16.9713, 23.2326, 28.3958)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40918C #914045
analogous
#409163 #40918C #406D91
triadic
#40918C #8C4091 #918C40
tetradic
#40918C #634091 #914045 #6D9140
square
#40918C #634091 #914045 #6D9140
split-complementary
#40918C #91406D #916340
monochromatic
#1B3C3A #2D6763 #40918C #59B6B0 #83C8C4

Accessibility & contrast

On white

3.72
#40918C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#40918C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40918C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40918C#FFFFFF#000000##000000
##40918C1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#898A8C
Deuteranopia (green-blind)
#7C808D
Tritanopia (blue-blind)
#00948F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #40918c;
/* rgb */ color: rgb(64, 145, 140);
/* oklch */ color: oklch(60.5% 0.079 189.8);
Tailwind
colors: {
  custom: {
    50: '#7db1ad',
    500: '#40918c',
    950: '#000000',
  },
}
SCSS
$custom: #40918c;
$custom-light: #7db1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40918c",
  "rgb": {
    "r": 64,
    "g": 145,
    "b": 140
  },
  "hsl": {
    "h": 176.296,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60516,
    "c": 0.07919,
    "h": 189.8
  },
  "luminance": 0.23234
}

Semantic roles & 50–950 ramp

primary
#40918C
secondary
#B37A7E
accent
#5960CF
background
#F8FAFA
surface
#EFF5F4
border
#CACFCE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #40918C

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

Preview Lab → · Contrast checker → · Palette generator →

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