#072942#072942

#072942 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.060 H 245.2°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#072942
RGBrgb(7, 41, 66)
HSLhsl(205, 81%, 14%)
HSVhsv(205, 89%, 26%)
CMYKcmyk(89.4%, 37.9%, 0%, 74.1%)
CIE-LABlab(15.61, -1.44, -19.18)
CIE-LCHlch(15.61, 19.24, 265.70°)
OKLaboklab(27.15% -0.0252 -0.0545)
OKLCHoklch(27.15% 0.06 245.2)
XYZxyz(1.8635, 2.0242, 5.4457)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072942 #422007
analogous
#07423E #072942 #070B42
triadic
#072942 #420729 #294207
tetradic
#072942 #3E0742 #422007 #0B4207
square
#072942 #3E0742 #422007 #0B4207
split-complementary
#072942 #42070B #423E07
monochromatic
#03111C #03111C #072942 #0D4B79 #136EB1

Accessibility & contrast

On white

14.95
#072942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#072942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072942
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072942#FFFFFF#000000##FFFFFF
##0729421.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A43
Deuteranopia (green-blind)
#152542
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #072942;
/* rgb */ color: rgb(7, 41, 66);
/* oklch */ color: oklch(27.1% 0.060 245.2);
Tailwind
colors: {
  custom: {
    50: '#526276',
    500: '#072942',
    950: '#000000',
  },
}
SCSS
$custom: #072942;
$custom-light: #526276;
$custom-dark: #000000;
JSON
{
  "hex": "#072942",
  "rgb": {
    "r": 7,
    "g": 41,
    "b": 66
  },
  "hsl": {
    "h": 205.424,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27147,
    "c": 0.06007,
    "h": 245.2
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#072942
secondary
#814B24
accent
#8531F7
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #072942

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

Preview Lab → · Contrast checker → · Palette generator →

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