#304850#304850

#304850 is a dark, muted cyan. Relative luminance 0.058; OKLCH L 38.5% C 0.032 H 220.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#304850
RGBrgb(48, 72, 80)
HSLhsl(195, 25%, 25%)
HSVhsv(195, 40%, 31%)
CMYKcmyk(40%, 10%, 0%, 68.6%)
CIE-LABlab(29.01, -6.87, -7.71)
CIE-LCHlch(29.01, 10.33, 228.34°)
OKLaboklab(38.53% -0.0246 -0.0212)
OKLCHoklch(38.53% 0.032 220.7)
XYZxyz(4.9838, 5.8420, 8.4529)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304850 #503830
analogous
#305048 #304850 #303850
triadic
#304850 #503048 #485030
tetradic
#304850 #483050 #503830 #385030
square
#304850 #483050 #503830 #385030
split-complementary
#304850 #503038 #504830
monochromatic
#0B1113 #19262A #304850 #476A76 #5E8D9C

Accessibility & contrast

On white

9.68
#304850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#304850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304850
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304850#FFFFFF#000000##FFFFFF
##3048501.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434750
Deuteranopia (green-blind)
#3E4350
Tritanopia (blue-blind)
#244B4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304850;
/* rgb */ color: rgb(48, 72, 80);
/* oklch */ color: oklch(38.5% 0.032 220.7);
Tailwind
colors: {
  custom: {
    50: '#6a7b81',
    500: '#304850',
    950: '#000000',
  },
}
SCSS
$custom: #304850;
$custom-light: #6a7b81;
$custom-dark: #000000;
JSON
{
  "hex": "#304850",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 80
  },
  "hsl": {
    "h": 195,
    "s": 25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.03246,
    "h": 220.7
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#304850
secondary
#81645B
accent
#7D66C1
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #304850

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

Preview Lab → · Contrast checker → · Palette generator →

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