#072840#072840

#072840 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.7% C 0.058 H 244.8°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#072840
RGBrgb(7, 40, 64)
HSLhsl(205, 80%, 14%)
HSVhsv(205, 89%, 25%)
CMYKcmyk(89.1%, 37.5%, 0%, 74.9%)
CIE-LABlab(15.13, -1.61, -18.56)
CIE-LCHlch(15.13, 18.63, 265.03°)
OKLaboklab(26.73% -0.0248 -0.0527)
OKLCHoklch(26.73% 0.058 244.8)
XYZxyz(1.7715, 1.9327, 5.1292)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072840 #401F07
analogous
#07403C #072840 #070C40
triadic
#072840 #400728 #284007
tetradic
#072840 #3C0740 #401F07 #0C4007
square
#072840 #3C0740 #401F07 #0C4007
split-complementary
#072840 #40070C #403C07
monochromatic
#03111C #03111C #072840 #0D4A77 #136DAE

Accessibility & contrast

On white

15.14
#072840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#072840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072840
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072840#FFFFFF#000000##FFFFFF
##0728401.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #072840;
/* rgb */ color: rgb(7, 40, 64);
/* oklch */ color: oklch(26.7% 0.058 244.8);
Tailwind
colors: {
  custom: {
    50: '#516175',
    500: '#072840',
    950: '#000000',
  },
}
SCSS
$custom: #072840;
$custom-light: #516175;
$custom-dark: #000000;
JSON
{
  "hex": "#072840",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 205.263,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26725,
    "c": 0.05827,
    "h": 244.8
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#072840
secondary
#7F4A24
accent
#8431F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #072840

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

Preview Lab → · Contrast checker → · Palette generator →

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