#305751#305751

#305751 is a dark, muted teal. Relative luminance 0.080; OKLCH L 42.6% C 0.046 H 183.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#305751
RGBrgb(48, 87, 81)
HSLhsl(171, 29%, 26%)
HSVhsv(171, 45%, 34%)
CMYKcmyk(44.8%, 0%, 6.9%, 65.9%)
CIE-LABlab(34.06, -15.47, -0.85)
CIE-LCHlch(34.06, 15.50, 183.13°)
OKLaboklab(42.59% -0.0456 -0.0025)
OKLCHoklch(42.59% 0.046 183.2)
XYZxyz(6.1117, 8.0384, 9.0125)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305751 #573036
analogous
#30573E #305751 #304A57
triadic
#305751 #513057 #575130
tetradic
#305751 #3E3057 #573036 #4A5730
square
#305751 #3E3057 #573036 #4A5730
split-complementary
#305751 #57304A #573E30
monochromatic
#0B1412 #1A302C #305751 #467E76 #5CA59A

Accessibility & contrast

On white

8.05
#305751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#305751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305751
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305751#FFFFFF#000000##FFFFFF
##3057511.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545351
Deuteranopia (green-blind)
#4D4E52
Tritanopia (blue-blind)
#215855
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #305751;
/* rgb */ color: rgb(48, 87, 81);
/* oklch */ color: oklch(42.6% 0.046 183.2);
Tailwind
colors: {
  custom: {
    50: '#6b8681',
    500: '#305751',
    950: '#000000',
  },
}
SCSS
$custom: #305751;
$custom-light: #6b8681;
$custom-dark: #000000;
JSON
{
  "hex": "#305751",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 170.769,
    "s": 28.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.04571,
    "h": 183.2
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#305751
secondary
#885A62
accent
#6372C5
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #305751

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

Preview Lab → · Contrast checker → · Palette generator →

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