#072340#072340

#072340 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.3% C 0.064 H 252.4°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#072340
RGBrgb(7, 35, 64)
HSLhsl(211, 80%, 14%)
HSVhsv(211, 89%, 25%)
CMYKcmyk(89.1%, 45.3%, 0%, 74.9%)
CIE-LABlab(13.33, 2.07, -21.41)
CIE-LCHlch(13.33, 21.51, 275.51°)
OKLaboklab(25.32% -0.0194 -0.0612)
OKLCHoklch(25.32% 0.064 252.4)
XYZxyz(1.6137, 1.6172, 5.0766)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072340 #402407
analogous
#074040 #072340 #070740
triadic
#072340 #400723 #234007
tetradic
#072340 #400740 #402407 #074007
square
#072340 #400740 #402407 #074007
split-complementary
#072340 #400707 #404007
monochromatic
#030F1C #030F1C #072340 #0D4177 #135FAE

Accessibility & contrast

On white

15.87
#072340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#072340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072340
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072340#FFFFFF#000000##FFFFFF
##0723401.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #072340;
/* rgb */ color: rgb(7, 35, 64);
/* oklch */ color: oklch(25.3% 0.064 252.4);
Tailwind
colors: {
  custom: {
    50: '#515d75',
    500: '#072340',
    950: '#000000',
  },
}
SCSS
$custom: #072340;
$custom-light: #515d75;
$custom-dark: #000000;
JSON
{
  "hex": "#072340",
  "rgb": {
    "r": 7,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 210.526,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25316,
    "c": 0.06418,
    "h": 252.4
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#072340
secondary
#7F5224
accent
#9631F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072340

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

Preview Lab → · Contrast checker → · Palette generator →

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