#072F40#072F40

#072F40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.052 H 231.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#072F40
RGBrgb(7, 47, 64)
HSLhsl(198, 80%, 14%)
HSVhsv(198, 89%, 25%)
CMYKcmyk(89.1%, 26.6%, 0%, 74.9%)
CIE-LABlab(17.68, -6.47, -14.56)
CIE-LCHlch(17.68, 15.93, 246.02°)
OKLaboklab(28.75% -0.0327 -0.041)
OKLCHoklch(28.75% 0.052 231.4)
XYZxyz(2.0292, 2.4481, 5.2151)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F40 #401807
analogous
#074035 #072F40 #071340
triadic
#072F40 #40072F #2F4007
tetradic
#072F40 #350740 #401807 #134007
square
#072F40 #350740 #401807 #134007
split-complementary
#072F40 #400713 #403507
monochromatic
#03141C #03141C #072F40 #0D5877 #1380AE

Accessibility & contrast

On white

14.10
#072F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#072F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072F40
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F40#FFFFFF#000000##FFFFFF
##072F401.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#1F2940
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #072f40;
/* rgb */ color: rgb(7, 47, 64);
/* oklch */ color: oklch(28.8% 0.052 231.4);
Tailwind
colors: {
  custom: {
    50: '#526775',
    500: '#072f40',
    950: '#000000',
  },
}
SCSS
$custom: #072f40;
$custom-light: #526775;
$custom-dark: #000000;
JSON
{
  "hex": "#072f40",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 197.895,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.28752,
    "c": 0.05245,
    "h": 231.4
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#072F40
secondary
#7F3F24
accent
#6C31F7
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #072F40

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

Preview Lab → · Contrast checker → · Palette generator →

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