#072A3F#072A3F

#072A3F is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.2% C 0.055 H 240.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#072A3F
RGBrgb(7, 42, 63)
HSLhsl(203, 80%, 14%)
HSVhsv(203, 89%, 25%)
CMYKcmyk(88.9%, 33.3%, 0%, 75.3%)
CIE-LABlab(15.80, -3.48, -16.81)
CIE-LCHlch(15.80, 17.17, 258.31°)
OKLaboklab(27.23% -0.0274 -0.0476)
OKLCHoklch(27.23% 0.055 240)
XYZxyz(1.8124, 2.0598, 5.0037)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A3F #3F1C07
analogous
#073F38 #072A3F #070E3F
triadic
#072A3F #3F072A #2A3F07
tetradic
#072A3F #38073F #3F1C07 #0E3F07
square
#072A3F #38073F #3F1C07 #0E3F07
split-complementary
#072A3F #3F070E #3F3807
monochromatic
#03121C #03121C #072A3F #0D4F76 #1373AD

Accessibility & contrast

On white

14.87
#072A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#072A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A3F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A3F#FFFFFF#000000##FFFFFF
##072A3F1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#18253F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #072a3f;
/* rgb */ color: rgb(7, 42, 63);
/* oklch */ color: oklch(27.2% 0.055 240.0);
Tailwind
colors: {
  custom: {
    50: '#516374',
    500: '#072a3f',
    950: '#000000',
  },
}
SCSS
$custom: #072a3f;
$custom-light: #516374;
$custom-dark: #000000;
JSON
{
  "hex": "#072a3f",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 202.5,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27234,
    "c": 0.05494,
    "h": 240
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#072A3F
secondary
#7E4624
accent
#7B31F6
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #072A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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