#304B4E#304B4E

#304B4E is a dark, muted teal. Relative luminance 0.062; OKLCH L 39.2% C 0.033 H 204.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#304B4E
RGBrgb(48, 75, 78)
HSLhsl(186, 24%, 25%)
HSVhsv(186, 38%, 31%)
CMYKcmyk(38.5%, 3.8%, 0%, 69.4%)
CIE-LABlab(29.94, -9.30, -5.04)
CIE-LCHlch(29.94, 10.57, 208.45°)
OKLaboklab(39.25% -0.03 -0.0138)
OKLCHoklch(39.25% 0.033 204.7)
XYZxyz(5.1097, 6.2103, 8.1357)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304B4E #4E3330
analogous
#304E42 #304B4E #303C4E
triadic
#304B4E #4E304B #4B4E30
tetradic
#304B4E #42304E #4E3330 #3C4E30
square
#304B4E #42304E #4E3330 #3C4E30
split-complementary
#304B4E #4E303C #4E4230
monochromatic
#0C1213 #192728 #304B4E #476F74 #5F949A

Accessibility & contrast

On white

9.37
#304B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#304B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304B4E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304B4E#FFFFFF#000000##FFFFFF
##304B4E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#42454E
Tritanopia (blue-blind)
#254D4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304b4e;
/* rgb */ color: rgb(48, 75, 78);
/* oklch */ color: oklch(39.2% 0.033 204.7);
Tailwind
colors: {
  custom: {
    50: '#6a7d7f',
    500: '#304b4e',
    950: '#000000',
  },
}
SCSS
$custom: #304b4e;
$custom-light: #6a7d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#304b4e",
  "rgb": {
    "r": 48,
    "g": 75,
    "b": 78
  },
  "hsl": {
    "h": 186,
    "s": 23.81,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39246,
    "c": 0.03301,
    "h": 204.7
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#304B4E
secondary
#7F5E5B
accent
#7068C0
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #304B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#304B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva