#072140#072140

#072140 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.8% C 0.067 H 254.9°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#072140
RGBrgb(7, 33, 64)
HSLhsl(213, 80%, 14%)
HSVhsv(213, 89%, 25%)
CMYKcmyk(89.1%, 48.4%, 0%, 74.9%)
CIE-LABlab(12.63, 3.58, -22.54)
CIE-LCHlch(12.63, 22.82, 279.03°)
OKLaboklab(24.76% -0.0174 -0.0645)
OKLCHoklch(24.76% 0.067 254.9)
XYZxyz(1.5565, 1.5029, 5.0575)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072140 #402607
analogous
#073E40 #072140 #0A0740
triadic
#072140 #400721 #214007
tetradic
#072140 #40073E #402607 #07400A
square
#072140 #40073E #402607 #07400A
split-complementary
#072140 #400A07 #3E4007
monochromatic
#030E1C #030E1C #072140 #0D3D77 #135AAE

Accessibility & contrast

On white

16.15
#072140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#072140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072140
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072140#FFFFFF#000000##FFFFFF
##0721401.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#071E3F
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #072140;
/* rgb */ color: rgb(7, 33, 64);
/* oklch */ color: oklch(24.8% 0.067 254.9);
Tailwind
colors: {
  custom: {
    50: '#515b75',
    500: '#072140',
    950: '#000000',
  },
}
SCSS
$custom: #072140;
$custom-light: #515b75;
$custom-dark: #000000;
JSON
{
  "hex": "#072140",
  "rgb": {
    "r": 7,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 212.632,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24764,
    "c": 0.06683,
    "h": 254.9
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#072140
secondary
#7F5524
accent
#9D31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072140

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

Preview Lab → · Contrast checker → · Palette generator →

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