#072A38#072A38

#072A38 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.8% C 0.046 H 229.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#072A38
RGBrgb(7, 42, 56)
HSLhsl(197, 78%, 12%)
HSVhsv(197, 88%, 22%)
CMYKcmyk(87.5%, 25%, 0%, 78%)
CIE-LABlab(15.42, -6.50, -12.53)
CIE-LCHlch(15.42, 14.12, 242.60°)
OKLaboklab(26.8% -0.0304 -0.0352)
OKLCHoklch(26.8% 0.047 229.2)
XYZxyz(1.6291, 1.9864, 4.0382)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A38 #381507
analogous
#07382E #072A38 #071138
triadic
#072A38 #38072A #2A3807
tetradic
#072A38 #2E0738 #381507 #113807
square
#072A38 #2E0738 #381507 #113807
split-complementary
#072A38 #380711 #382E07
monochromatic
#03141B #03141B #072A38 #0E536E #157CA5

Accessibility & contrast

On white

15.03
#072A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#072A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A38
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A38#FFFFFF#000000##FFFFFF
##072A381.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232939
Deuteranopia (green-blind)
#1C2438
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #072a38;
/* rgb */ color: rgb(7, 42, 56);
/* oklch */ color: oklch(26.8% 0.046 229.2);
Tailwind
colors: {
  custom: {
    50: '#4f636e',
    500: '#072a38',
    950: '#000000',
  },
}
SCSS
$custom: #072a38;
$custom-light: #4f636e;
$custom-dark: #000000;
JSON
{
  "hex": "#072a38",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 197.143,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.26804,
    "c": 0.0465,
    "h": 229.2
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#072A38
secondary
#783B23
accent
#6B34F4
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #072A38

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

Preview Lab → · Contrast checker → · Palette generator →

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