#072842#072842

#072842 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.061 H 246.8°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#072842
RGBrgb(7, 40, 66)
HSLhsl(206, 81%, 14%)
HSVhsv(206, 89%, 26%)
CMYKcmyk(89.4%, 39.4%, 0%, 74.1%)
CIE-LABlab(15.25, -0.72, -19.75)
CIE-LCHlch(15.25, 19.76, 267.91°)
OKLaboklab(26.86% -0.0241 -0.0562)
OKLCHoklch(26.86% 0.061 246.8)
XYZxyz(1.8294, 1.9559, 5.4343)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072842 #422107
analogous
#07423F #072842 #070A42
triadic
#072842 #420728 #284207
tetradic
#072842 #3F0742 #422107 #0A4207
square
#072842 #3F0742 #422107 #0A4207
split-complementary
#072842 #42070A #423F07
monochromatic
#03111C #03111C #072842 #0D4A79 #136BB1

Accessibility & contrast

On white

15.09
#072842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072842
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072842#FFFFFF#000000##FFFFFF
##0728421.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #072842;
/* rgb */ color: rgb(7, 40, 66);
/* oklch */ color: oklch(26.9% 0.061 246.8);
Tailwind
colors: {
  custom: {
    50: '#526176',
    500: '#072842',
    950: '#000000',
  },
}
SCSS
$custom: #072842;
$custom-light: #526176;
$custom-dark: #000000;
JSON
{
  "hex": "#072842",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 206.441,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26864,
    "c": 0.06116,
    "h": 246.8
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#072842
secondary
#814D24
accent
#8831F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #072842

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

Preview Lab → · Contrast checker → · Palette generator →

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