#303239#303239

#303239 is a dark, near-neutral blue. Relative luminance 0.032; OKLCH L 31.8% C 0.013 H 273.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#303239
RGBrgb(48, 50, 57)
HSLhsl(227, 9%, 21%)
HSVhsv(227, 16%, 22%)
CMYKcmyk(15.8%, 12.3%, 0%, 77.6%)
CIE-LABlab(20.85, 0.89, -4.71)
CIE-LCHlch(20.85, 4.80, 280.72°)
OKLaboklab(31.8% 0.0007 -0.0127)
OKLCHoklch(31.8% 0.013 273)
XYZxyz(3.0979, 3.2050, 4.3255)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303239 #393730
analogous
#303639 #303239 #323039
triadic
#303239 #393032 #323930
tetradic
#303239 #393036 #393730 #303932
square
#303239 #393036 #393730 #303932
split-complementary
#303239 #393230 #363930
monochromatic
#0E0F11 #141518 #303239 #4C4F5A #686C7B

Accessibility & contrast

On white

12.80
#303239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#303239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303239
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303239#FFFFFF#000000##FFFFFF
##3032391.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303339
Deuteranopia (green-blind)
#2F3239
Tritanopia (blue-blind)
#2E3334
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #303239;
/* rgb */ color: rgb(48, 50, 57);
/* oklch */ color: oklch(31.8% 0.013 273.0);
Tailwind
colors: {
  custom: {
    50: '#68696f',
    500: '#303239',
    950: '#000000',
  },
}
SCSS
$custom: #303239;
$custom-light: #68696f;
$custom-dark: #000000;
JSON
{
  "hex": "#303239",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 226.667,
    "s": 8.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31795,
    "c": 0.01275,
    "h": 273
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#303239
secondary
#68665C
accent
#A476B2
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #303239

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

Preview Lab → · Contrast checker → · Palette generator →

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