#072742#072742

#072742 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.062 H 248.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#072742
RGBrgb(7, 39, 66)
HSLhsl(207, 81%, 14%)
HSVhsv(207, 89%, 26%)
CMYKcmyk(89.4%, 40.9%, 0%, 74.1%)
CIE-LABlab(14.90, 0.01, -20.32)
CIE-LCHlch(14.90, 20.32, 270.03°)
OKLaboklab(26.58% -0.0231 -0.0579)
OKLCHoklch(26.58% 0.062 248.3)
XYZxyz(1.7961, 1.8893, 5.4232)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072742 #422207
analogous
#074240 #072742 #070942
triadic
#072742 #420727 #274207
tetradic
#072742 #400742 #422207 #094207
square
#072742 #400742 #422207 #094207
split-complementary
#072742 #420709 #424007
monochromatic
#03101C #03101C #072742 #0D4879 #1368B1

Accessibility & contrast

On white

15.24
#072742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#072742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072742
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072742#FFFFFF#000000##FFFFFF
##0727421.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2843
Deuteranopia (green-blind)
#112341
Tritanopia (blue-blind)
#002D31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072742;
/* rgb */ color: rgb(7, 39, 66);
/* oklch */ color: oklch(26.6% 0.062 248.3);
Tailwind
colors: {
  custom: {
    50: '#526076',
    500: '#072742',
    950: '#000000',
  },
}
SCSS
$custom: #072742;
$custom-light: #526076;
$custom-dark: #000000;
JSON
{
  "hex": "#072742",
  "rgb": {
    "r": 7,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 207.458,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26582,
    "c": 0.0623,
    "h": 248.3
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#072742
secondary
#814E24
accent
#8B31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #072742

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

Preview Lab → · Contrast checker → · Palette generator →

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