#072238#072238

#072238 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.4% C 0.053 H 246.8°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#072238
RGBrgb(7, 34, 56)
HSLhsl(207, 78%, 12%)
HSVhsv(207, 88%, 22%)
CMYKcmyk(87.5%, 39.3%, 0%, 78%)
CIE-LABlab(12.45, -0.83, -17.18)
CIE-LCHlch(12.45, 17.20, 267.23°)
OKLaboklab(24.45% -0.0209 -0.0488)
OKLCHoklch(24.45% 0.053 246.8)
XYZxyz(1.3732, 1.4746, 3.9529)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072238 #381D07
analogous
#073836 #072238 #070938
triadic
#072238 #380722 #223807
tetradic
#072238 #360738 #381D07 #093807
square
#072238 #360738 #381D07 #093807
split-complementary
#072238 #380709 #383607
monochromatic
#03111B #03111B #072238 #0E436E #1564A5

Accessibility & contrast

On white

16.22
#072238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#072238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072238
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072238#FFFFFF#000000##FFFFFF
##0722381.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#111E38
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #072238;
/* rgb */ color: rgb(7, 34, 56);
/* oklch */ color: oklch(24.4% 0.053 246.8);
Tailwind
colors: {
  custom: {
    50: '#4f5c6e',
    500: '#072238',
    950: '#000000',
  },
}
SCSS
$custom: #072238;
$custom-light: #4f5c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#072238",
  "rgb": {
    "r": 7,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 206.939,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24447,
    "c": 0.05309,
    "h": 246.8
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#072238
secondary
#784923
accent
#8A34F4
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #072238

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

Preview Lab → · Contrast checker → · Palette generator →

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