#071C38#071C38

#071C38 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.061 H 256.5°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#071C38
RGBrgb(7, 28, 56)
HSLhsl(214, 78%, 12%)
HSVhsv(214, 88%, 22%)
CMYKcmyk(87.5%, 50%, 0%, 78%)
CIE-LABlab(10.27, 3.73, -20.64)
CIE-LCHlch(10.27, 20.98, 280.25°)
OKLaboklab(22.74% -0.0142 -0.0591)
OKLCHoklch(22.74% 0.061 256.5)
XYZxyz(1.2164, 1.1611, 3.9006)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071C38 #382307
analogous
#073538 #071C38 #0B0738
triadic
#071C38 #38071C #1C3807
tetradic
#071C38 #380735 #382307 #07380B
square
#071C38 #380735 #382307 #07380B
split-complementary
#071C38 #380B07 #353807
monochromatic
#030E1B #030E1B #071C38 #0E376E #1552A5

Accessibility & contrast

On white

17.04
#071C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#071C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071C38
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071C38#FFFFFF#000000##FFFFFF
##071C381.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E39
Deuteranopia (green-blind)
#061A37
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #071c38;
/* rgb */ color: rgb(7, 28, 56);
/* oklch */ color: oklch(22.7% 0.061 256.5);
Tailwind
colors: {
  custom: {
    50: '#4f576f',
    500: '#071c38',
    950: '#000000',
  },
}
SCSS
$custom: #071c38;
$custom-light: #4f576f;
$custom-dark: #000000;
JSON
{
  "hex": "#071c38",
  "rgb": {
    "r": 7,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 214.286,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22744,
    "c": 0.06075,
    "h": 256.5
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#071C38
secondary
#785323
accent
#A234F4
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #071C38

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

Preview Lab → · Contrast checker → · Palette generator →

#071C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva