#072242#072242

#072242 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.069 H 254.9°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#072242
RGBrgb(7, 34, 66)
HSLhsl(213, 81%, 14%)
HSVhsv(213, 89%, 26%)
CMYKcmyk(89.4%, 48.5%, 0%, 74.1%)
CIE-LABlab(13.12, 3.75, -23.14)
CIE-LCHlch(13.12, 23.44, 279.19°)
OKLaboklab(25.2% -0.0179 -0.0663)
OKLCHoklch(25.2% 0.069 254.9)
XYZxyz(1.6427, 1.5824, 5.3721)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072242 #422707
analogous
#074042 #072242 #090742
triadic
#072242 #420722 #224207
tetradic
#072242 #420740 #422707 #074209
square
#072242 #420740 #422707 #074209
split-complementary
#072242 #420907 #404207
monochromatic
#030E1C #030E1C #072242 #0D3F79 #135BB1

Accessibility & contrast

On white

15.95
#072242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072242
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072242#FFFFFF#000000##FFFFFF
##0722421.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122543
Deuteranopia (green-blind)
#071F41
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #072242;
/* rgb */ color: rgb(7, 34, 66);
/* oklch */ color: oklch(25.2% 0.069 254.9);
Tailwind
colors: {
  custom: {
    50: '#525c76',
    500: '#072242',
    950: '#000000',
  },
}
SCSS
$custom: #072242;
$custom-light: #525c76;
$custom-dark: #000000;
JSON
{
  "hex": "#072242",
  "rgb": {
    "r": 7,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 212.542,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25196,
    "c": 0.06865,
    "h": 254.9
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#072242
secondary
#815624
accent
#9C31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072242

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

Preview Lab → · Contrast checker → · Palette generator →

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