#072542#072542

#072542 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.065 H 251.1°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#072542
RGBrgb(7, 37, 66)
HSLhsl(209, 81%, 14%)
HSVhsv(209, 89%, 26%)
CMYKcmyk(89.4%, 43.9%, 0%, 74.1%)
CIE-LABlab(14.18, 1.49, -21.45)
CIE-LCHlch(14.18, 21.50, 273.96°)
OKLaboklab(26.02% -0.0209 -0.0612)
OKLCHoklch(26.02% 0.065 251.1)
XYZxyz(1.7322, 1.7614, 5.4019)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072542 #422407
analogous
#074242 #072542 #070742
triadic
#072542 #420725 #254207
tetradic
#072542 #420742 #422407 #074207
square
#072542 #420742 #422407 #074207
split-complementary
#072542 #420707 #424207
monochromatic
#03101C #03101C #072542 #0D4479 #1363B1

Accessibility & contrast

On white

15.53
#072542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#072542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072542
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072542#FFFFFF#000000##FFFFFF
##0725421.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#0E2241
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072542;
/* rgb */ color: rgb(7, 37, 66);
/* oklch */ color: oklch(26.0% 0.065 251.1);
Tailwind
colors: {
  custom: {
    50: '#525f76',
    500: '#072542',
    950: '#000000',
  },
}
SCSS
$custom: #072542;
$custom-light: #525f76;
$custom-dark: #000000;
JSON
{
  "hex": "#072542",
  "rgb": {
    "r": 7,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 209.492,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26022,
    "c": 0.06473,
    "h": 251.1
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#072542
secondary
#815224
accent
#9231F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072542

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

Preview Lab → · Contrast checker → · Palette generator →

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