#307271#307271

#307271 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.0% C 0.067 H 193.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#307271
RGBrgb(48, 114, 113)
HSLhsl(179, 41%, 32%)
HSVhsv(179, 58%, 45%)
CMYKcmyk(57.9%, 0%, 0.9%, 55.3%)
CIE-LABlab(44.02, -20.99, -5.78)
CIE-LCHlch(44.02, 21.77, 195.39°)
OKLaboklab(50.96% -0.0647 -0.016)
OKLCHoklch(50.96% 0.067 193.9)
XYZxyz(10.2156, 13.8543, 17.7554)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307271 #723031
analogous
#307250 #307271 #305272
triadic
#307271 #713072 #727130
tetradic
#307271 #503072 #723031 #527230
square
#307271 #503072 #723031 #527230
split-complementary
#307271 #723052 #725030
monochromatic
#0C1C1C #1E4746 #307271 #429D9C #60BCBB

Accessibility & contrast

On white

5.57
#307271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#307271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307271
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307271#FFFFFF#000000##FFFFFF
##3072711.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#606572
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #307271;
/* rgb */ color: rgb(48, 114, 113);
/* oklch */ color: oklch(51.0% 0.067 193.9);
Tailwind
colors: {
  custom: {
    50: '#709b99',
    500: '#307271',
    950: '#000000',
  },
}
SCSS
$custom: #307271;
$custom-light: #709b99;
$custom-dark: #000000;
JSON
{
  "hex": "#307271",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.091,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.06665,
    "h": 193.9
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#307271
secondary
#A35B5C
accent
#5759D1
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #307271

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

Preview Lab → · Contrast checker → · Palette generator →

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