#40979B#40979B

#40979B is a light, moderate teal. Relative luminance 0.256; OKLCH L 62.6% C 0.083 H 199.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#40979B
RGBrgb(64, 151, 155)
HSLhsl(183, 42%, 43%)
HSVhsv(183, 59%, 61%)
CMYKcmyk(58.7%, 2.6%, 0%, 39.2%)
CIE-LABlab(57.64, -24.59, -9.95)
CIE-LCHlch(57.64, 26.53, 202.03°)
OKLaboklab(62.56% -0.0781 -0.0275)
OKLCHoklch(62.56% 0.083 199.4)
XYZxyz(19.0949, 25.5878, 34.9366)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40979B #9B4440
analogous
#409B71 #40979B #406A9B
triadic
#40979B #9B4097 #979B40
tetradic
#40979B #71409B #9B4440 #6A9B40
square
#40979B #71409B #9B4440 #6A9B40
split-complementary
#40979B #9B406A #9B7140
monochromatic
#1C4344 #2E6D70 #40979B #5CB8BC #88CBCE

Accessibility & contrast

On white

3.43
#40979B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#40979B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40979B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40979B#FFFFFF#000000##000000
##40979B1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D919B
Deuteranopia (green-blind)
#7F869C
Tritanopia (blue-blind)
#009C98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #40979b;
/* rgb */ color: rgb(64, 151, 155);
/* oklch */ color: oklch(62.6% 0.083 199.4);
Tailwind
colors: {
  custom: {
    50: '#7fb6b8',
    500: '#40979b',
    950: '#000000',
  },
}
SCSS
$custom: #40979b;
$custom-light: #7fb6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40979b",
  "rgb": {
    "r": 64,
    "g": 151,
    "b": 155
  },
  "hsl": {
    "h": 182.637,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.08282,
    "h": 199.4
  },
  "luminance": 0.2559
}

Semantic roles & 50–950 ramp

primary
#40979B
secondary
#B8817E
accent
#5C56D1
background
#F8FBFB
surface
#EFF6F6
border
#CAD0D0
text
#0B1111
muted
#7C8080

Preview Lab

Preview with #40979B

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

Preview Lab → · Contrast checker → · Palette generator →

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