#072042#072042

#072042 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.071 H 257.1°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#072042
RGBrgb(7, 32, 66)
HSLhsl(215, 81%, 14%)
HSVhsv(215, 89%, 26%)
CMYKcmyk(89.4%, 51.5%, 0%, 74.1%)
CIE-LABlab(12.43, 5.28, -24.26)
CIE-LCHlch(12.43, 24.83, 282.27°)
OKLaboklab(24.66% -0.0159 -0.0696)
OKLCHoklch(24.66% 0.071 257.1)
XYZxyz(1.5871, 1.4714, 5.3535)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072042 #422907
analogous
#073E42 #072042 #0B0742
triadic
#072042 #420720 #204207
tetradic
#072042 #42073E #422907 #07420B
square
#072042 #42073E #422907 #07420B
split-complementary
#072042 #420B07 #3E4207
monochromatic
#030D1C #030D1C #072042 #0D3B79 #1356B1

Accessibility & contrast

On white

16.22
#072042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#072042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072042
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072042#FFFFFF#000000##FFFFFF
##0720421.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2343
Deuteranopia (green-blind)
#031E41
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #072042;
/* rgb */ color: rgb(7, 32, 66);
/* oklch */ color: oklch(24.7% 0.071 257.1);
Tailwind
colors: {
  custom: {
    50: '#525a76',
    500: '#072042',
    950: '#000000',
  },
}
SCSS
$custom: #072042;
$custom-light: #525a76;
$custom-dark: #000000;
JSON
{
  "hex": "#072042",
  "rgb": {
    "r": 7,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 214.576,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24656,
    "c": 0.07141,
    "h": 257.1
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#072042
secondary
#815A24
accent
#A331F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #072042

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

Preview Lab → · Contrast checker → · Palette generator →

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