#203840#203840

#203840 is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.5% C 0.033 H 221.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#203840
RGBrgb(32, 56, 64)
HSLhsl(195, 33%, 19%)
HSVhsv(195, 50%, 25%)
CMYKcmyk(50%, 12.5%, 0%, 74.9%)
CIE-LABlab(21.96, -6.77, -7.90)
CIE-LCHlch(21.96, 10.40, 229.37°)
OKLaboklab(32.46% -0.0249 -0.0218)
OKLCHoklch(32.46% 0.033 221.2)
XYZxyz(2.9349, 3.5054, 5.3714)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203840 #402820
analogous
#204038 #203840 #202840
triadic
#203840 #402038 #384020
tetradic
#203840 #382040 #402820 #284020
square
#203840 #382040 #402820 #284020
split-complementary
#203840 #402028 #403820
monochromatic
#0A1214 #0C1417 #203840 #345C69 #497F92

Accessibility & contrast

On white

12.34
#203840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#203840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203840
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203840#FFFFFF#000000##FFFFFF
##2038401.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333740
Deuteranopia (green-blind)
#2E3340
Tritanopia (blue-blind)
#123B3A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #203840;
/* rgb */ color: rgb(32, 56, 64);
/* oklch */ color: oklch(32.5% 0.033 221.2);
Tailwind
colors: {
  custom: {
    50: '#5e6e74',
    500: '#203840',
    950: '#000000',
  },
}
SCSS
$custom: #203840;
$custom-light: #5e6e74;
$custom-dark: #000000;
JSON
{
  "hex": "#203840",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 195,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3246,
    "c": 0.03306,
    "h": 221.2
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#203840
secondary
#745348
accent
#795EC9
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040708
muted
#797A7B

Preview Lab

Preview with #203840

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

Preview Lab → · Contrast checker → · Palette generator →

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