#072142#072142

#072142 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.9% C 0.070 H 256.0°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#072142
RGBrgb(7, 33, 66)
HSLhsl(214, 81%, 14%)
HSVhsv(214, 89%, 26%)
CMYKcmyk(89.4%, 50%, 0%, 74.1%)
CIE-LABlab(12.77, 4.51, -23.70)
CIE-LCHlch(12.77, 24.13, 280.77°)
OKLaboklab(24.93% -0.0169 -0.0679)
OKLCHoklch(24.93% 0.07 256)
XYZxyz(1.6145, 1.5260, 5.3627)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072142 #422807
analogous
#073F42 #072142 #0A0742
triadic
#072142 #420721 #214207
tetradic
#072142 #42073F #422807 #07420A
square
#072142 #42073F #422807 #07420A
split-complementary
#072142 #420A07 #3F4207
monochromatic
#030E1C #030E1C #072142 #0D3D79 #1358B1

Accessibility & contrast

On white

16.09
#072142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072142
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072142#FFFFFF#000000##FFFFFF
##0721421.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#051F41
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #072142;
/* rgb */ color: rgb(7, 33, 66);
/* oklch */ color: oklch(24.9% 0.070 256.0);
Tailwind
colors: {
  custom: {
    50: '#525b76',
    500: '#072142',
    950: '#000000',
  },
}
SCSS
$custom: #072142;
$custom-light: #525b76;
$custom-dark: #000000;
JSON
{
  "hex": "#072142",
  "rgb": {
    "r": 7,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 213.559,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24925,
    "c": 0.07002,
    "h": 256
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#072142
secondary
#815824
accent
#A031F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072142

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

Preview Lab → · Contrast checker → · Palette generator →

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