#24787C#24787C

#24787C is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.078 H 199.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#24787C
RGBrgb(36, 120, 124)
HSLhsl(183, 55%, 31%)
HSVhsv(183, 71%, 49%)
CMYKcmyk(71%, 3.2%, 0%, 51.4%)
CIE-LABlab(45.99, -22.95, -9.45)
CIE-LCHlch(45.99, 24.82, 202.38°)
OKLaboklab(52.57% -0.0733 -0.0262)
OKLCHoklch(52.57% 0.078 199.7)
XYZxyz(11.0805, 15.2620, 21.4268)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24787C #7C2824
analogous
#247C54 #24787C #244C7C
triadic
#24787C #7C2478 #787C24
tetradic
#24787C #54247C #7C2824 #4C7C24
square
#24787C #54247C #7C2824 #4C7C24
split-complementary
#24787C #7C244C #7C5424
monochromatic
#081C1D #164A4D #24787C #32A6AB #4FC6CC

Accessibility & contrast

On white

5.18
#24787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #24787C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24787C#FFFFFF#000000##FFFFFF
##24787C1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24787c;
/* rgb */ color: rgb(36, 120, 124);
/* oklch */ color: oklch(52.6% 0.078 199.7);
Tailwind
colors: {
  custom: {
    50: '#6d9fa1',
    500: '#24787c',
    950: '#000000',
  },
}
SCSS
$custom: #24787c;
$custom-light: #6d9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#24787c",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.727,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.07783,
    "h": 199.7
  },
  "luminance": 0.15263
}

Semantic roles & 50–950 ramp

primary
#24787C
secondary
#AE524D
accent
#5049DE
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #24787C

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

Preview Lab → · Contrast checker → · Palette generator →

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