#072837#072837

#072837 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.046 H 232.3°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#072837
RGBrgb(7, 40, 55)
HSLhsl(199, 77%, 12%)
HSVhsv(199, 87%, 22%)
CMYKcmyk(87.3%, 27.3%, 0%, 78.4%)
CIE-LABlab(14.62, -5.56, -13.07)
CIE-LCHlch(14.62, 14.21, 246.96°)
OKLaboklab(26.15% -0.0284 -0.0368)
OKLCHoklch(26.15% 0.046 232.3)
XYZxyz(1.5357, 1.8384, 3.8876)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072837 #371607
analogous
#07372E #072837 #071037
triadic
#072837 #370728 #283707
tetradic
#072837 #2E0737 #371607 #103707
square
#072837 #2E0737 #371607 #103707
split-complementary
#072837 #370710 #372E07
monochromatic
#03141B #03141B #072837 #0E4F6D #1577A4

Accessibility & contrast

On white

15.35
#072837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#072837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072837
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072837#FFFFFF#000000##FFFFFF
##0728371.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212738
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072837;
/* rgb */ color: rgb(7, 40, 55);
/* oklch */ color: oklch(26.1% 0.046 232.3);
Tailwind
colors: {
  custom: {
    50: '#4f616d',
    500: '#072837',
    950: '#000000',
  },
}
SCSS
$custom: #072837;
$custom-light: #4f616d;
$custom-dark: #000000;
JSON
{
  "hex": "#072837",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 198.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26148,
    "c": 0.04647,
    "h": 232.3
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#072837
secondary
#773D23
accent
#7034F4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #072837

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

Preview Lab → · Contrast checker → · Palette generator →

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