#072231#072231

#072231 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.0% C 0.043 H 236.8°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#072231
RGBrgb(7, 34, 49)
HSLhsl(201, 75%, 11%)
HSVhsv(201, 86%, 19%)
CMYKcmyk(85.7%, 30.6%, 0%, 80.8%)
CIE-LABlab(12.03, -3.95, -12.83)
CIE-LCHlch(12.03, 13.43, 252.91°)
OKLaboklab(23.98% -0.0236 -0.0361)
OKLCHoklch(23.98% 0.043 236.8)
XYZxyz(1.2138, 1.4108, 3.1135)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072231 #311607
analogous
#07312B #072231 #070D31
triadic
#072231 #310722 #223107
tetradic
#072231 #2B0731 #311607 #0D3107
square
#072231 #2B0731 #311607 #0D3107
split-complementary
#072231 #31070D #312B07
monochromatic
#04131B #04131B #072231 #0F4767 #166C9C

Accessibility & contrast

On white

16.38
#072231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#072231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072231
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072231#FFFFFF#000000##FFFFFF
##0722311.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2232
Deuteranopia (green-blind)
#151E31
Tritanopia (blue-blind)
#002627
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #072231;
/* rgb */ color: rgb(7, 34, 49);
/* oklch */ color: oklch(24.0% 0.043 236.8);
Tailwind
colors: {
  custom: {
    50: '#4d5c69',
    500: '#072231',
    950: '#000000',
  },
}
SCSS
$custom: #072231;
$custom-light: #4d5c69;
$custom-dark: #000000;
JSON
{
  "hex": "#072231",
  "rgb": {
    "r": 7,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 201.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23981,
    "c": 0.0432,
    "h": 236.8
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#072231
secondary
#713F23
accent
#7936F2
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #072231

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

Preview Lab → · Contrast checker → · Palette generator →

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