#304752#304752

#304752 is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.4% C 0.034 H 229.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#304752
RGBrgb(48, 71, 82)
HSLhsl(199, 26%, 25%)
HSVhsv(199, 41%, 32%)
CMYKcmyk(41.5%, 13.4%, 0%, 67.8%)
CIE-LABlab(28.76, -5.64, -9.39)
CIE-LCHlch(28.76, 10.95, 239.03°)
OKLaboklab(38.36% -0.0222 -0.0258)
OKLCHoklch(38.36% 0.034 229.3)
XYZxyz(4.9946, 5.7438, 8.8265)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304752 #523B30
analogous
#30524C #304752 #303652
triadic
#304752 #523047 #475230
tetradic
#304752 #4C3052 #523B30 #365230
square
#304752 #4C3052 #523B30 #365230
split-complementary
#304752 #523036 #524C30
monochromatic
#0B1113 #19262B #304752 #476879 #5D8A9F

Accessibility & contrast

On white

9.77
#304752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#304752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304752
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304752#FFFFFF#000000##FFFFFF
##3047521.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#3C4252
Tritanopia (blue-blind)
#234A4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304752;
/* rgb */ color: rgb(48, 71, 82);
/* oklch */ color: oklch(38.4% 0.034 229.3);
Tailwind
colors: {
  custom: {
    50: '#6a7a82',
    500: '#304752',
    950: '#000000',
  },
}
SCSS
$custom: #304752;
$custom-light: #6a7a82;
$custom-dark: #000000;
JSON
{
  "hex": "#304752",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 82
  },
  "hsl": {
    "h": 199.412,
    "s": 26.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.03408,
    "h": 229.3
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#304752
secondary
#83685B
accent
#8365C3
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #304752

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

Preview Lab → · Contrast checker → · Palette generator →

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