#24787B#24787B

#24787B is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.078 H 198.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#24787B
RGBrgb(36, 120, 123)
HSLhsl(182, 55%, 31%)
HSVhsv(182, 71%, 48%)
CMYKcmyk(70.7%, 2.4%, 0%, 51.8%)
CIE-LABlab(45.96, -23.26, -8.91)
CIE-LCHlch(45.96, 24.91, 200.95°)
OKLaboklab(52.53% -0.0737 -0.0247)
OKLCHoklch(52.53% 0.078 198.5)
XYZxyz(11.0176, 15.2368, 21.0954)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24787B #7B2724
analogous
#247B52 #24787B #244C7B
triadic
#24787B #7B2478 #787B24
tetradic
#24787B #52247B #7B2724 #4C7B24
square
#24787B #52247B #7B2724 #4C7B24
split-complementary
#24787B #7B244C #7B5224
monochromatic
#081C1C #164A4C #24787B #32A6AA #4EC7CB

Accessibility & contrast

On white

5.19
#24787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#24787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24787B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24787B#FFFFFF#000000##FFFFFF
##24787B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727B
Deuteranopia (green-blind)
#62697B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #24787b;
/* rgb */ color: rgb(36, 120, 123);
/* oklch */ color: oklch(52.5% 0.078 198.5);
Tailwind
colors: {
  custom: {
    50: '#6d9fa1',
    500: '#24787b',
    950: '#000000',
  },
}
SCSS
$custom: #24787b;
$custom-light: #6d9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#24787b",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.069,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.07778,
    "h": 198.5
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#24787B
secondary
#AD514D
accent
#4F4ADE
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #24787B

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

Preview Lab → · Contrast checker → · Palette generator →

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