#072642#072642

#072642 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.3% C 0.064 H 249.7°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#072642
RGBrgb(7, 38, 66)
HSLhsl(208, 81%, 14%)
HSVhsv(208, 89%, 26%)
CMYKcmyk(89.4%, 42.4%, 0%, 74.1%)
CIE-LABlab(14.54, 0.74, -20.89)
CIE-LCHlch(14.54, 20.90, 272.04°)
OKLaboklab(26.3% -0.022 -0.0596)
OKLCHoklch(26.3% 0.064 249.7)
XYZxyz(1.7637, 1.8245, 5.4124)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072642 #422307
analogous
#074241 #072642 #070842
triadic
#072642 #420726 #264207
tetradic
#072642 #410742 #422307 #084207
square
#072642 #410742 #422307 #084207
split-complementary
#072642 #420708 #424107
monochromatic
#03101C #03101C #072642 #0D4679 #1366B1

Accessibility & contrast

On white

15.38
#072642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#072642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072642
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072642#FFFFFF#000000##FFFFFF
##0726421.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192843
Deuteranopia (green-blind)
#102241
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072642;
/* rgb */ color: rgb(7, 38, 66);
/* oklch */ color: oklch(26.3% 0.064 249.7);
Tailwind
colors: {
  custom: {
    50: '#525f76',
    500: '#072642',
    950: '#000000',
  },
}
SCSS
$custom: #072642;
$custom-light: #525f76;
$custom-dark: #000000;
JSON
{
  "hex": "#072642",
  "rgb": {
    "r": 7,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 208.475,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26301,
    "c": 0.0635,
    "h": 249.7
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#072642
secondary
#815024
accent
#8F31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072642

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

Preview Lab → · Contrast checker → · Palette generator →

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