#257271#257271

#257271 is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.6% C 0.073 H 193.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#257271
RGBrgb(37, 114, 113)
HSLhsl(179, 51%, 30%)
HSVhsv(179, 68%, 45%)
CMYKcmyk(67.5%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.68, -23.11, -6.32)
CIE-LCHlch(43.68, 23.96, 195.30°)
OKLaboklab(50.59% -0.0713 -0.0176)
OKLCHoklch(50.59% 0.073 193.8)
XYZxyz(9.7596, 13.6191, 17.7340)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257271 #722526
analogous
#25724B #257271 #254D72
triadic
#257271 #712572 #727125
tetradic
#257271 #4B2572 #722526 #4D7225
square
#257271 #4B2572 #722526 #4D7225
split-complementary
#257271 #72254D #724B25
monochromatic
#071717 #164443 #257271 #34A09F #4CC5C3

Accessibility & contrast

On white

5.64
#257271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#257271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257271
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257271#FFFFFF#000000##FFFFFF
##2572711.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C71
Deuteranopia (green-blind)
#5F6472
Tritanopia (blue-blind)
#007671
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #257271;
/* rgb */ color: rgb(37, 114, 113);
/* oklch */ color: oklch(50.6% 0.073 193.8);
Tailwind
colors: {
  custom: {
    50: '#6b9b99',
    500: '#257271',
    950: '#000000',
  },
}
SCSS
$custom: #257271;
$custom-light: #6b9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#257271",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.221,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.07341,
    "h": 193.8
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#257271
secondary
#A54E4F
accent
#4D4FDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #257271

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

Preview Lab → · Contrast checker → · Palette generator →

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