#072240#072240

#072240 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.065 H 253.7°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#072240
RGBrgb(7, 34, 64)
HSLhsl(212, 80%, 14%)
HSVhsv(212, 89%, 25%)
CMYKcmyk(89.1%, 46.9%, 0%, 74.9%)
CIE-LABlab(12.98, 2.82, -21.97)
CIE-LCHlch(12.98, 22.15, 277.32°)
OKLaboklab(25.04% -0.0184 -0.0628)
OKLCHoklch(25.04% 0.065 253.7)
XYZxyz(1.5847, 1.5592, 5.0669)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072240 #402507
analogous
#073F40 #072240 #090740
triadic
#072240 #400722 #224007
tetradic
#072240 #40073F #402507 #074009
square
#072240 #40073F #402507 #074009
split-complementary
#072240 #400907 #3F4007
monochromatic
#030F1C #030F1C #072240 #0D3F77 #135DAE

Accessibility & contrast

On white

16.01
#072240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#072240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072240
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072240#FFFFFF#000000##FFFFFF
##0722401.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #072240;
/* rgb */ color: rgb(7, 34, 64);
/* oklch */ color: oklch(25.0% 0.065 253.7);
Tailwind
colors: {
  custom: {
    50: '#515c75',
    500: '#072240',
    950: '#000000',
  },
}
SCSS
$custom: #072240;
$custom-light: #515c75;
$custom-dark: #000000;
JSON
{
  "hex": "#072240",
  "rgb": {
    "r": 7,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 211.579,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25039,
    "c": 0.06549,
    "h": 253.7
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#072240
secondary
#7F5424
accent
#9931F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072240

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

Preview Lab → · Contrast checker → · Palette generator →

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