#072831#072831

#072831 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.8% C 0.041 H 219.8°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#072831
RGBrgb(7, 40, 49)
HSLhsl(193, 75%, 11%)
HSVhsv(193, 86%, 19%)
CMYKcmyk(85.7%, 18.4%, 0%, 80.8%)
CIE-LABlab(14.31, -8.07, -9.30)
CIE-LCHlch(14.31, 12.32, 229.05°)
OKLaboklab(25.81% -0.0312 -0.026)
OKLCHoklch(25.81% 0.041 219.8)
XYZxyz(1.4006, 1.7843, 3.1757)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072831 #311007
analogous
#073125 #072831 #071331
triadic
#072831 #310728 #283107
tetradic
#072831 #250731 #311007 #133107
square
#072831 #250731 #311007 #133107
split-complementary
#072831 #310713 #312507
monochromatic
#04161B #04161B #072831 #0F5467 #167F9C

Accessibility & contrast

On white

15.48
#072831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#072831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072831
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072831#FFFFFF#000000##FFFFFF
##0728311.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222731
Deuteranopia (green-blind)
#1D2231
Tritanopia (blue-blind)
#002B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072831;
/* rgb */ color: rgb(7, 40, 49);
/* oklch */ color: oklch(25.8% 0.041 219.8);
Tailwind
colors: {
  custom: {
    50: '#4e6269',
    500: '#072831',
    950: '#000000',
  },
}
SCSS
$custom: #072831;
$custom-light: #4e6269;
$custom-dark: #000000;
JSON
{
  "hex": "#072831",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 192.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.25805,
    "c": 0.04062,
    "h": 219.8
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#072831
secondary
#713423
accent
#5E36F2
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #072831

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

Preview Lab → · Contrast checker → · Palette generator →

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