#257871#257871

#257871 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.079 H 187.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#257871
RGBrgb(37, 120, 113)
HSLhsl(175, 53%, 31%)
HSVhsv(175, 69%, 47%)
CMYKcmyk(69.2%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.66, -26.17, -3.39)
CIE-LCHlch(45.66, 26.39, 187.39°)
OKLaboklab(52.19% -0.078 -0.0096)
OKLCHoklch(52.19% 0.079 187)
XYZxyz(10.4587, 15.0173, 17.9670)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257871 #78252C
analogous
#257847 #257871 #255578
triadic
#257871 #712578 #787125
tetradic
#257871 #472578 #78252C #557825
square
#257871 #472578 #78252C #557825
split-complementary
#257871 #782555 #784725
monochromatic
#081A19 #174945 #257871 #33A79D #4FC9BE

Accessibility & contrast

On white

5.25
#257871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#257871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257871
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257871#FFFFFF#000000##FFFFFF
##2578711.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717171
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257871;
/* rgb */ color: rgb(37, 120, 113);
/* oklch */ color: oklch(52.2% 0.079 187.0);
Tailwind
colors: {
  custom: {
    50: '#6c9f99',
    500: '#257871',
    950: '#000000',
  },
}
SCSS
$custom: #257871;
$custom-light: #6c9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#257871",
  "rgb": {
    "r": 37,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 174.94,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.07862,
    "h": 187
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#257871
secondary
#AA4E56
accent
#4C58DC
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #257871

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

Preview Lab → · Contrast checker → · Palette generator →

#257871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva