#071738#071738

#071738 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.068 H 262.4°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#071738
RGBrgb(7, 23, 56)
HSLhsl(220, 78%, 12%)
HSVhsv(220, 88%, 22%)
CMYKcmyk(87.5%, 58.9%, 0%, 78%)
CIE-LABlab(8.51, 7.71, -23.47)
CIE-LCHlch(8.51, 24.70, 288.18°)
OKLaboklab(21.39% -0.009 -0.0675)
OKLCHoklch(21.39% 0.068 262.4)
XYZxyz(1.1076, 0.9434, 3.8643)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071738 #382807
analogous
#073038 #071738 #0F0738
triadic
#071738 #380717 #173807
tetradic
#071738 #380730 #382807 #07380F
square
#071738 #380730 #382807 #07380F
split-complementary
#071738 #380F07 #303807
monochromatic
#030B1B #030B1B #071738 #0E2D6E #1544A5

Accessibility & contrast

On white

17.67
#071738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#071738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071738
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071738#FFFFFF#000000##FFFFFF
##0717381.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071738;
/* rgb */ color: rgb(7, 23, 56);
/* oklch */ color: oklch(21.4% 0.068 262.4);
Tailwind
colors: {
  custom: {
    50: '#4f536f',
    500: '#071738',
    950: '#000000',
  },
}
SCSS
$custom: #071738;
$custom-light: #4f536f;
$custom-dark: #000000;
JSON
{
  "hex": "#071738",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 220.408,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21392,
    "c": 0.06809,
    "h": 262.4
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#071738
secondary
#785C23
accent
#B534F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071738

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

Preview Lab → · Contrast checker → · Palette generator →

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