#072841#072841

#072841 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.8% C 0.060 H 245.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#072841
RGBrgb(7, 40, 65)
HSLhsl(206, 81%, 14%)
HSVhsv(206, 89%, 25%)
CMYKcmyk(89.2%, 38.5%, 0%, 74.5%)
CIE-LABlab(15.19, -1.17, -19.16)
CIE-LCHlch(15.19, 19.19, 266.51°)
OKLaboklab(26.79% -0.0245 -0.0545)
OKLCHoklch(26.79% 0.06 245.8)
XYZxyz(1.8002, 1.9442, 5.2804)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072841 #412007
analogous
#07413D #072841 #070B41
triadic
#072841 #410728 #284107
tetradic
#072841 #3D0741 #412007 #0B4107
square
#072841 #3D0741 #412007 #0B4107
split-complementary
#072841 #41070B #413D07
monochromatic
#03111C #03111C #072841 #0D4A78 #136CB0

Accessibility & contrast

On white

15.12
#072841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072841
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072841#FFFFFF#000000##FFFFFF
##0728411.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #072841;
/* rgb */ color: rgb(7, 40, 65);
/* oklch */ color: oklch(26.8% 0.060 245.8);
Tailwind
colors: {
  custom: {
    50: '#516175',
    500: '#072841',
    950: '#000000',
  },
}
SCSS
$custom: #072841;
$custom-light: #516175;
$custom-dark: #000000;
JSON
{
  "hex": "#072841",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 205.862,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26794,
    "c": 0.0597,
    "h": 245.8
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#072841
secondary
#804C24
accent
#8631F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #072841

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

Preview Lab → · Contrast checker → · Palette generator →

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