#072038#072038

#072038 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.9% C 0.055 H 250.4°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#072038
RGBrgb(7, 32, 56)
HSLhsl(209, 78%, 12%)
HSVhsv(209, 88%, 22%)
CMYKcmyk(87.5%, 42.9%, 0%, 78%)
CIE-LABlab(11.71, 0.66, -18.34)
CIE-LCHlch(11.71, 18.35, 272.06°)
OKLaboklab(23.87% -0.0186 -0.0522)
OKLCHoklch(23.87% 0.055 250.4)
XYZxyz(1.3177, 1.3636, 3.9344)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072038 #381F07
analogous
#073838 #072038 #070738
triadic
#072038 #380720 #203807
tetradic
#072038 #380738 #381F07 #073807
square
#072038 #380738 #381F07 #073807
split-complementary
#072038 #380707 #383807
monochromatic
#03101B #03101B #072038 #0E3F6E #155EA5

Accessibility & contrast

On white

16.50
#072038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#072038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072038
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072038#FFFFFF#000000##FFFFFF
##0720381.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152139
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #072038;
/* rgb */ color: rgb(7, 32, 56);
/* oklch */ color: oklch(23.9% 0.055 250.4);
Tailwind
colors: {
  custom: {
    50: '#4f5b6e',
    500: '#072038',
    950: '#000000',
  },
}
SCSS
$custom: #072038;
$custom-light: #4f5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#072038",
  "rgb": {
    "r": 7,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 209.388,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23871,
    "c": 0.05545,
    "h": 250.4
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#072038
secondary
#784D23
accent
#9234F4
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #072038

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

Preview Lab → · Contrast checker → · Palette generator →

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