#072342#072342

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

Color values

HEX#072342
RGBrgb(7, 35, 66)
HSLhsl(212, 81%, 14%)
HSVhsv(212, 89%, 26%)
CMYKcmyk(89.4%, 47%, 0%, 74.1%)
CIE-LABlab(13.47, 2.99, -22.58)
CIE-LCHlch(13.47, 22.78, 277.53°)
OKLaboklab(25.47% -0.0189 -0.0646)
OKLCHoklch(25.47% 0.067 253.7)
XYZxyz(1.6717, 1.6404, 5.3817)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072342 #422607
analogous
#074142 #072342 #080742
triadic
#072342 #420723 #234207
tetradic
#072342 #420741 #422607 #074208
square
#072342 #420741 #422607 #074208
split-complementary
#072342 #420807 #414207
monochromatic
#030F1C #030F1C #072342 #0D4079 #135EB1

Accessibility & contrast

On white

15.81
#072342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#072342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072342
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072342#FFFFFF#000000##FFFFFF
##0723421.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142543
Deuteranopia (green-blind)
#092041
Tritanopia (blue-blind)
#002A2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #072342;
/* rgb */ color: rgb(7, 35, 66);
/* oklch */ color: oklch(25.5% 0.067 253.7);
Tailwind
colors: {
  custom: {
    50: '#525d76',
    500: '#072342',
    950: '#000000',
  },
}
SCSS
$custom: #072342;
$custom-light: #525d76;
$custom-dark: #000000;
JSON
{
  "hex": "#072342",
  "rgb": {
    "r": 7,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 211.525,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2547,
    "c": 0.06731,
    "h": 253.7
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#072342
secondary
#815524
accent
#9931F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072342

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

Preview Lab → · Contrast checker → · Palette generator →

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