#40938D#40938D

#40938D is a mid, moderate teal. Relative luminance 0.239; OKLCH L 61.1% C 0.081 H 188.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#40938D
RGBrgb(64, 147, 141)
HSLhsl(176, 39%, 41%)
HSVhsv(176, 56%, 58%)
CMYKcmyk(56.5%, 0%, 4.1%, 42.4%)
CIE-LABlab(55.97, -26.55, -4.43)
CIE-LCHlch(55.97, 26.91, 189.48°)
OKLaboklab(61.06% -0.0799 -0.0124)
OKLCHoklch(61.06% 0.081 188.8)
XYZxyz(17.3537, 23.8788, 28.8887)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40938D #934046
analogous
#409364 #40938D #407093
triadic
#40938D #8D4093 #938D40
tetradic
#40938D #644093 #934046 #709340
square
#40938D #644093 #934046 #709340
split-complementary
#40938D #934070 #936440
monochromatic
#1B3E3B #2D6864 #40938D #59B7B0 #84C9C4

Accessibility & contrast

On white

3.64
#40938D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#40938D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40938D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40938D#FFFFFF#000000##000000
##40938D1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8C8D
Deuteranopia (green-blind)
#7E828E
Tritanopia (blue-blind)
#009691
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #40938d;
/* rgb */ color: rgb(64, 147, 141);
/* oklch */ color: oklch(61.1% 0.081 188.8);
Tailwind
colors: {
  custom: {
    50: '#7db3ae',
    500: '#40938d',
    950: '#000000',
  },
}
SCSS
$custom: #40938d;
$custom-light: #7db3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#40938d",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 141
  },
  "hsl": {
    "h": 175.663,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.08084,
    "h": 188.8
  },
  "luminance": 0.23881
}

Semantic roles & 50–950 ramp

primary
#40938D
secondary
#B47B7F
accent
#5961CF
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #40938D

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

Preview Lab → · Contrast checker → · Palette generator →

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