#305151#305151

#305151 is a dark, muted teal. Relative luminance 0.071; OKLCH L 41.0% C 0.039 H 195.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#305151
RGBrgb(48, 81, 81)
HSLhsl(180, 26%, 25%)
HSVhsv(180, 41%, 32%)
CMYKcmyk(40.7%, 0%, 0%, 68.2%)
CIE-LABlab(32.05, -12.02, -3.81)
CIE-LCHlch(32.05, 12.61, 197.61°)
OKLaboklab(40.97% -0.0372 -0.0105)
OKLCHoklch(40.97% 0.039 195.8)
XYZxyz(5.6460, 7.1069, 8.8572)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305151 #513030
analogous
#305140 #305151 #304051
triadic
#305151 #513051 #515130
tetradic
#305151 #403051 #513030 #405130
square
#305151 #403051 #513030 #405130
split-complementary
#305151 #513040 #514030
monochromatic
#0B1313 #192B2B #305151 #477777 #5E9E9E

Accessibility & contrast

On white

8.67
#305151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#305151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305151
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305151#FFFFFF#000000##FFFFFF
##3051511.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E51
Deuteranopia (green-blind)
#474951
Tritanopia (blue-blind)
#225351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #305151;
/* rgb */ color: rgb(48, 81, 81);
/* oklch */ color: oklch(41.0% 0.039 195.8);
Tailwind
colors: {
  custom: {
    50: '#6a8281',
    500: '#305151',
    950: '#000000',
  },
}
SCSS
$custom: #305151;
$custom-light: #6a8281;
$custom-dark: #000000;
JSON
{
  "hex": "#305151",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 180,
    "s": 25.581,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.03868,
    "h": 195.8
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#305151
secondary
#825B5B
accent
#6666C2
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A0A
muted
#7A7C7C

Preview Lab

Preview with #305151

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

Preview Lab → · Contrast checker → · Palette generator →

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