#304A4E#304A4E

#304A4E is a dark, muted teal. Relative luminance 0.061; OKLCH L 39.0% C 0.032 H 208.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#304A4E
RGBrgb(48, 74, 78)
HSLhsl(188, 24%, 25%)
HSVhsv(188, 38%, 31%)
CMYKcmyk(38.5%, 5.1%, 0%, 69.4%)
CIE-LABlab(29.60, -8.69, -5.54)
CIE-LCHlch(29.60, 10.30, 212.50°)
OKLaboklab(38.98% -0.0285 -0.0152)
OKLCHoklch(38.98% 0.032 208)
XYZxyz(5.0424, 6.0757, 8.1133)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304A4E #4E3430
analogous
#304E43 #304A4E #303B4E
triadic
#304A4E #4E304A #4A4E30
tetradic
#304A4E #43304E #4E3430 #3B4E30
square
#304A4E #43304E #4E3430 #3B4E30
split-complementary
#304A4E #4E303B #4E4330
monochromatic
#0C1213 #192628 #304A4E #476E74 #5F929A

Accessibility & contrast

On white

9.48
#304A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#304A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304A4E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304A4E#FFFFFF#000000##FFFFFF
##304A4E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484E
Deuteranopia (green-blind)
#41444E
Tritanopia (blue-blind)
#254C4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304a4e;
/* rgb */ color: rgb(48, 74, 78);
/* oklch */ color: oklch(39.0% 0.032 208.0);
Tailwind
colors: {
  custom: {
    50: '#6a7c7f',
    500: '#304a4e',
    950: '#000000',
  },
}
SCSS
$custom: #304a4e;
$custom-light: #6a7c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#304a4e",
  "rgb": {
    "r": 48,
    "g": 74,
    "b": 78
  },
  "hsl": {
    "h": 188,
    "s": 23.81,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.03229,
    "h": 208
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#304A4E
secondary
#7F605B
accent
#7368C0
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #304A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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