#072A42#072A42

#072A42 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.059 H 243.5°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#072A42
RGBrgb(7, 42, 66)
HSLhsl(204, 81%, 14%)
HSVhsv(204, 89%, 26%)
CMYKcmyk(89.4%, 36.4%, 0%, 74.1%)
CIE-LABlab(15.97, -2.15, -18.61)
CIE-LCHlch(15.97, 18.74, 263.40°)
OKLaboklab(27.43% -0.0263 -0.0528)
OKLCHoklch(27.43% 0.059 243.5)
XYZxyz(1.8986, 2.0942, 5.4574)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A42 #421F07
analogous
#07423D #072A42 #070C42
triadic
#072A42 #42072A #2A4207
tetradic
#072A42 #3D0742 #421F07 #0C4207
square
#072A42 #3D0742 #421F07 #0C4207
split-complementary
#072A42 #42070C #423D07
monochromatic
#03121C #03121C #072A42 #0D4D79 #1370B1

Accessibility & contrast

On white

14.80
#072A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#072A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A42
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A42#FFFFFF#000000##FFFFFF
##072A421.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#162542
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072a42;
/* rgb */ color: rgb(7, 42, 66);
/* oklch */ color: oklch(27.4% 0.059 243.5);
Tailwind
colors: {
  custom: {
    50: '#526376',
    500: '#072a42',
    950: '#000000',
  },
}
SCSS
$custom: #072a42;
$custom-light: #526376;
$custom-dark: #000000;
JSON
{
  "hex": "#072a42",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 204.407,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27432,
    "c": 0.05902,
    "h": 243.5
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#072A42
secondary
#814A24
accent
#8131F7
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #072A42

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

Preview Lab → · Contrast checker → · Palette generator →

#072A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva