#304151#304151

#304151 is a dark, muted cyan. Relative luminance 0.050; OKLCH L 36.8% C 0.035 H 247.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#304151
RGBrgb(48, 65, 81)
HSLhsl(209, 26%, 25%)
HSVhsv(209, 41%, 32%)
CMYKcmyk(40.7%, 19.8%, 0%, 68.2%)
CIE-LABlab(26.74, -2.10, -11.80)
CIE-LCHlch(26.74, 11.99, 259.89°)
OKLaboklab(36.75% -0.0136 -0.0326)
OKLCHoklch(36.75% 0.035 247.3)
XYZxyz(4.5939, 5.0028, 8.5066)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304151 #514030
analogous
#305150 #304151 #303051
triadic
#304151 #513041 #415130
tetradic
#304151 #503051 #514030 #305130
square
#304151 #503051 #514030 #305130
split-complementary
#304151 #513030 #515030
monochromatic
#0B0F13 #19222B #304151 #476077 #5E7F9E

Accessibility & contrast

On white

10.50
#304151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#304151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304151
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304151#FFFFFF#000000##FFFFFF
##3041511.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4152
Deuteranopia (green-blind)
#373E51
Tritanopia (blue-blind)
#254546
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304151;
/* rgb */ color: rgb(48, 65, 81);
/* oklch */ color: oklch(36.8% 0.035 247.3);
Tailwind
colors: {
  custom: {
    50: '#6a7581',
    500: '#304151',
    950: '#000000',
  },
}
SCSS
$custom: #304151;
$custom-light: #6a7581;
$custom-dark: #000000;
JSON
{
  "hex": "#304151",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 209.091,
    "s": 25.581,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.03533,
    "h": 247.3
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#304151
secondary
#826E5B
accent
#9366C2
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #304151

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

Preview Lab → · Contrast checker → · Palette generator →

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