#304B3F#304B3F

#304B3F is a dark, muted teal. Relative luminance 0.060; OKLCH L 38.7% C 0.039 H 164.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#304B3F
RGBrgb(48, 75, 63)
HSLhsl(153, 22%, 24%)
HSVhsv(153, 36%, 29%)
CMYKcmyk(36%, 0%, 16%, 70.6%)
CIE-LABlab(29.46, -13.32, 3.92)
CIE-LCHlch(29.46, 13.88, 163.61°)
OKLaboklab(38.71% -0.0375 0.0101)
OKLCHoklch(38.71% 0.039 164.9)
XYZxyz(4.6319, 6.0192, 5.6194)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304B3F #4B303C
analogous
#304B32 #304B3F #304A4B
triadic
#304B3F #3F304B #4B3F30
tetradic
#304B3F #32304B #4B303C #4A4B30
square
#304B3F #32304B #4B303C #4A4B30
split-complementary
#304B3F #4B304A #4B3230
monochromatic
#0C1310 #182620 #304B3F #48705E #60967E

Accessibility & contrast

On white

9.53
#304B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#304B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304B3F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304B3F#FFFFFF#000000##FFFFFF
##304B3F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473E
Deuteranopia (green-blind)
#454440
Tritanopia (blue-blind)
#2A4B47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304b3f;
/* rgb */ color: rgb(48, 75, 63);
/* oklch */ color: oklch(38.7% 0.039 164.9);
Tailwind
colors: {
  custom: {
    50: '#697d74',
    500: '#304b3f',
    950: '#000000',
  },
}
SCSS
$custom: #304b3f;
$custom-light: #697d74;
$custom-dark: #000000;
JSON
{
  "hex": "#304b3f",
  "rgb": {
    "r": 48,
    "g": 75,
    "b": 63
  },
  "hsl": {
    "h": 153.333,
    "s": 21.951,
    "l": 24.118
  },
  "oklch": {
    "l": 0.38707,
    "c": 0.03884,
    "h": 164.9
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#304B3F
secondary
#7C5B6A
accent
#698FBE
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #304B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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