#303840#303840

#303840 is a dark, near-neutral cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.018 H 248.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#303840
RGBrgb(48, 56, 64)
HSLhsl(210, 14%, 22%)
HSVhsv(210, 25%, 25%)
CMYKcmyk(25%, 12.5%, 0%, 74.9%)
CIE-LABlab(23.09, -1.23, -6.09)
CIE-LCHlch(23.09, 6.21, 258.59°)
OKLaboklab(33.65% -0.0066 -0.0165)
OKLCHoklch(33.65% 0.018 248.3)
XYZxyz(3.5583, 3.8268, 5.4007)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303840 #403830
analogous
#304040 #303840 #303040
triadic
#303840 #403038 #384030
tetradic
#303840 #403040 #403830 #304030
square
#303840 #403040 #403830 #304030
split-complementary
#303840 #403030 #404030
monochromatic
#0D0F11 #16191D #303840 #4A5763 #647586

Accessibility & contrast

On white

11.90
#303840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#303840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303840
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303840#FFFFFF#000000##FFFFFF
##3038401.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#2C3A3B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303840;
/* rgb */ color: rgb(48, 56, 64);
/* oklch */ color: oklch(33.6% 0.018 248.3);
Tailwind
colors: {
  custom: {
    50: '#686e74',
    500: '#303840',
    950: '#000000',
  },
}
SCSS
$custom: #303840;
$custom-light: #686e74;
$custom-dark: #000000;
JSON
{
  "hex": "#303840",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 210,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33647,
    "c": 0.01781,
    "h": 248.3
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#303840
secondary
#70665C
accent
#9471B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #303840

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

Preview Lab → · Contrast checker → · Palette generator →

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