#283238#283238

#283238 is a dark, near-neutral cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.017 H 234.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#283238
RGBrgb(40, 50, 56)
HSLhsl(203, 17%, 19%)
HSVhsv(203, 29%, 22%)
CMYKcmyk(28.6%, 10.7%, 0%, 78%)
CIE-LABlab(20.11, -2.56, -5.20)
CIE-LCHlch(20.11, 5.79, 243.82°)
OKLaboklab(31.03% -0.0101 -0.0141)
OKLCHoklch(31.03% 0.017 234.5)
XYZxyz(2.7293, 3.0177, 4.1793)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283238 #382E28
analogous
#283836 #283238 #282A38
triadic
#283238 #382832 #323828
tetradic
#283238 #362838 #382E28 #2A3828
square
#283238 #362838 #382E28 #2A3828
split-complementary
#283238 #38282A #383628
monochromatic
#0D1012 #0F1214 #283238 #42525C #5B727F

Accessibility & contrast

On white

13.10
#283238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#283238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283238
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283238#FFFFFF#000000##FFFFFF
##2832381.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3238
Deuteranopia (green-blind)
#2D3038
Tritanopia (blue-blind)
#233434
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283238;
/* rgb */ color: rgb(40, 50, 56);
/* oklch */ color: oklch(31.0% 0.017 234.5);
Tailwind
colors: {
  custom: {
    50: '#62696e',
    500: '#283238',
    950: '#000000',
  },
}
SCSS
$custom: #283238;
$custom-light: #62696e;
$custom-dark: #000000;
JSON
{
  "hex": "#283238",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 56
  },
  "hsl": {
    "h": 202.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31032,
    "c": 0.01739,
    "h": 234.5
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#283238
secondary
#695B53
accent
#8B6EB9
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050607
muted
#797A7A

Preview Lab

Preview with #283238

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

Preview Lab → · Contrast checker → · Palette generator →

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