#072838#072838

#072838 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.048 H 234.1°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#072838
RGBrgb(7, 40, 56)
HSLhsl(200, 78%, 12%)
HSVhsv(200, 88%, 22%)
CMYKcmyk(87.5%, 28.6%, 0%, 78%)
CIE-LABlab(14.67, -5.13, -13.69)
CIE-LCHlch(14.67, 14.62, 249.46°)
OKLaboklab(26.21% -0.028 -0.0386)
OKLCHoklch(26.21% 0.048 234.1)
XYZxyz(1.5599, 1.8481, 4.0151)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072838 #381707
analogous
#073830 #072838 #070F38
triadic
#072838 #380728 #283807
tetradic
#072838 #300738 #381707 #0F3807
square
#072838 #300738 #381707 #0F3807
split-complementary
#072838 #38070F #383007
monochromatic
#03131B #03131B #072838 #0E4F6E #1576A5

Accessibility & contrast

On white

15.33
#072838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#072838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072838
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072838#FFFFFF#000000##FFFFFF
##0728381.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#1A2338
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072838;
/* rgb */ color: rgb(7, 40, 56);
/* oklch */ color: oklch(26.2% 0.048 234.1);
Tailwind
colors: {
  custom: {
    50: '#4f616e',
    500: '#072838',
    950: '#000000',
  },
}
SCSS
$custom: #072838;
$custom-light: #4f616e;
$custom-dark: #000000;
JSON
{
  "hex": "#072838",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 199.592,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.26208,
    "c": 0.04764,
    "h": 234.1
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#072838
secondary
#783F23
accent
#7234F4
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #072838

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

Preview Lab → · Contrast checker → · Palette generator →

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