#304548#304548

#304548 is a dark, muted teal. Relative luminance 0.054; OKLCH L 37.4% C 0.027 H 207.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#304548
RGBrgb(48, 69, 72)
HSLhsl(188, 20%, 24%)
HSVhsv(188, 33%, 28%)
CMYKcmyk(33.3%, 4.2%, 0%, 71.8%)
CIE-LABlab(27.72, -7.33, -4.46)
CIE-LCHlch(27.72, 8.58, 211.33°)
OKLaboklab(37.41% -0.0238 -0.0122)
OKLCHoklch(37.41% 0.027 207.1)
XYZxyz(4.5164, 5.3523, 6.9248)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304548 #483330
analogous
#30483F #304548 #303948
triadic
#304548 #483045 #454830
tetradic
#304548 #3F3048 #483330 #394830
square
#304548 #3F3048 #483330 #394830
split-complementary
#304548 #483039 #483F30
monochromatic
#0C1212 #182223 #304548 #48686D #618B91

Accessibility & contrast

On white

10.14
#304548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#304548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304548
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304548#FFFFFF#000000##FFFFFF
##3045481.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424348
Deuteranopia (green-blind)
#3D4048
Tritanopia (blue-blind)
#284746
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #304548;
/* rgb */ color: rgb(48, 69, 72);
/* oklch */ color: oklch(37.4% 0.027 207.1);
Tailwind
colors: {
  custom: {
    50: '#69787a',
    500: '#304548',
    950: '#000000',
  },
}
SCSS
$custom: #304548;
$custom-light: #69787a;
$custom-dark: #000000;
JSON
{
  "hex": "#304548",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 72
  },
  "hsl": {
    "h": 187.5,
    "s": 20,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.02674,
    "h": 207.1
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#304548
secondary
#795F5B
accent
#756BBD
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060909
muted
#7A7B7B

Preview Lab

Preview with #304548

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

Preview Lab → · Contrast checker → · Palette generator →

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