#283239#283239

#283239 is a dark, near-neutral cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.019 H 238.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#283239
RGBrgb(40, 50, 57)
HSLhsl(205, 18%, 19%)
HSVhsv(205, 30%, 22%)
CMYKcmyk(29.8%, 12.3%, 0%, 77.6%)
CIE-LABlab(20.15, -2.26, -5.82)
CIE-LCHlch(20.15, 6.25, 248.75°)
OKLaboklab(31.08% -0.0096 -0.0159)
OKLCHoklch(31.08% 0.019 238.7)
XYZxyz(2.7540, 3.0276, 4.3094)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283239 #392F28
analogous
#283938 #283239 #282A39
triadic
#283239 #392832 #323928
tetradic
#283239 #382839 #392F28 #2A3928
square
#283239 #382839 #392F28 #2A3928
split-complementary
#283239 #39282A #393828
monochromatic
#0D1012 #0F1215 #283239 #41525D #5A7181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283239#FFFFFF#000000##FFFFFF
##2832391.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)
#2F3239
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#233434
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283239;
/* rgb */ color: rgb(40, 50, 57);
/* oklch */ color: oklch(31.1% 0.019 238.7);
Tailwind
colors: {
  custom: {
    50: '#62696f',
    500: '#283239',
    950: '#000000',
  },
}
SCSS
$custom: #283239;
$custom-light: #62696f;
$custom-dark: #000000;
JSON
{
  "hex": "#283239",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 204.706,
    "s": 17.526,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.01858,
    "h": 238.7
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#283239
secondary
#6A5C53
accent
#8D6EBA
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #283239

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

Preview Lab → · Contrast checker → · Palette generator →

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