#303038#303038

#303038 is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 31.2% C 0.014 H 285.6°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#303038
RGBrgb(48, 48, 56)
HSLhsl(240, 8%, 20%)
HSVhsv(240, 14%, 22%)
CMYKcmyk(14.3%, 14.3%, 0%, 78%)
CIE-LABlab(20.15, 1.99, -5.07)
CIE-LCHlch(20.15, 5.44, 291.45°)
OKLaboklab(31.24% 0.0038 -0.0137)
OKLCHoklch(31.24% 0.014 285.6)
XYZxyz(2.9895, 3.0278, 4.1675)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303038 #383830
analogous
#303438 #303038 #343038
triadic
#303038 #383030 #303830
tetradic
#303038 #383034 #383830 #303834
square
#303038 #383034 #383830 #303834
split-complementary
#303038 #383430 #343830
monochromatic
#0E0E10 #141417 #303038 #4C4C59 #68687A

Accessibility & contrast

On white

13.08
#303038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#303038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303038
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303038#FFFFFF#000000##FFFFFF
##3030381.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3138
Deuteranopia (green-blind)
#2E3038
Tritanopia (blue-blind)
#2E3133
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303038;
/* rgb */ color: rgb(48, 48, 56);
/* oklch */ color: oklch(31.2% 0.014 285.6);
Tailwind
colors: {
  custom: {
    50: '#68686e',
    500: '#303038',
    950: '#000000',
  },
}
SCSS
$custom: #303038;
$custom-light: #68686e;
$custom-dark: #000000;
JSON
{
  "hex": "#303038",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 56
  },
  "hsl": {
    "h": 240,
    "s": 7.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31241,
    "c": 0.0142,
    "h": 285.6
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#303038
secondary
#67675D
accent
#B177B1
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #303038

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

Preview Lab → · Contrast checker → · Palette generator →

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