#40948A#40948A

#40948A is a mid, moderate teal. Relative luminance 0.241; OKLCH L 61.2% C 0.083 H 184.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#40948A
RGBrgb(64, 148, 138)
HSLhsl(173, 40%, 42%)
HSVhsv(173, 57%, 58%)
CMYKcmyk(56.8%, 0%, 6.8%, 42%)
CIE-LABlab(56.19, -27.86, -2.38)
CIE-LCHlch(56.19, 27.97, 184.89°)
OKLaboklab(61.21% -0.0824 -0.0069)
OKLCHoklch(61.21% 0.083 184.8)
XYZxyz(17.2897, 24.1031, 27.7810)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40948A #94404A
analogous
#409460 #40948A #407494
triadic
#40948A #8A4094 #948A40
tetradic
#40948A #604094 #94404A #749440
square
#40948A #604094 #94404A #749440
split-complementary
#40948A #944074 #946040
monochromatic
#1B3F3A #2E6962 #40948A #5AB8AC #84CAC2

Accessibility & contrast

On white

3.61
#40948A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#40948A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40948A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40948A#FFFFFF#000000##000000
##40948A1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8C8A
Deuteranopia (green-blind)
#80838B
Tritanopia (blue-blind)
#009791
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #40948a;
/* rgb */ color: rgb(64, 148, 138);
/* oklch */ color: oklch(61.2% 0.083 184.8);
Tailwind
colors: {
  custom: {
    50: '#7db4ac',
    500: '#40948a',
    950: '#000000',
  },
}
SCSS
$custom: #40948a;
$custom-light: #7db4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40948a",
  "rgb": {
    "r": 64,
    "g": 148,
    "b": 138
  },
  "hsl": {
    "h": 172.857,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.61208,
    "c": 0.0827,
    "h": 184.8
  },
  "luminance": 0.24105
}

Semantic roles & 50–950 ramp

primary
#40948A
secondary
#B47B82
accent
#5866D0
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #40948A

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

Preview Lab → · Contrast checker → · Palette generator →

#40948A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva