#25787F#25787F

#25787F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.078 H 203.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#25787F
RGBrgb(37, 120, 127)
HSLhsl(185, 55%, 32%)
HSVhsv(185, 71%, 50%)
CMYKcmyk(70.9%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.12, -21.84, -11.04)
CIE-LCHlch(46.12, 24.47, 206.81°)
OKLaboklab(52.72% -0.0714 -0.0306)
OKLCHoklch(52.72% 0.078 203.2)
XYZxyz(11.3085, 15.3573, 22.4428)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25787F #7F2C25
analogous
#257F59 #25787F #254B7F
triadic
#25787F #7F2578 #787F25
tetradic
#25787F #59257F #7F2C25 #4B7F25
square
#25787F #59257F #7F2C25 #4B7F25
split-complementary
#25787F #7F254B #7F5925
monochromatic
#091E20 #174B50 #25787F #33A5AE #52C3CD

Accessibility & contrast

On white

5.16
#25787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#25787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25787F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25787F#FFFFFF#000000##FFFFFF
##25787F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #25787f;
/* rgb */ color: rgb(37, 120, 127);
/* oklch */ color: oklch(52.7% 0.078 203.2);
Tailwind
colors: {
  custom: {
    50: '#6d9fa4',
    500: '#25787f',
    950: '#000000',
  },
}
SCSS
$custom: #25787f;
$custom-light: #6d9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#25787f",
  "rgb": {
    "r": 37,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.07771,
    "h": 203.2
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#25787F
secondary
#B1574F
accent
#554ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #25787F

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

Preview Lab → · Contrast checker → · Palette generator →

#25787F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva