#071638#071638

#071638 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.070 H 263.4°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#071638
RGBrgb(7, 22, 56)
HSLhsl(222, 78%, 12%)
HSVhsv(222, 88%, 22%)
CMYKcmyk(87.5%, 60.7%, 0%, 78%)
CIE-LABlab(8.17, 8.52, -24.02)
CIE-LCHlch(8.17, 25.48, 289.52°)
OKLaboklab(21.13% -0.008 -0.0691)
OKLCHoklch(21.13% 0.07 263.4)
XYZxyz(1.0881, 0.9044, 3.8578)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071638 #382907
analogous
#072E38 #071638 #110738
triadic
#071638 #380716 #163807
tetradic
#071638 #38072E #382907 #073811
square
#071638 #38072E #382907 #073811
split-complementary
#071638 #381107 #2E3807
monochromatic
#030B1B #030B1B #071638 #0E2B6E #1541A5

Accessibility & contrast

On white

17.78
#071638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#071638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071638
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071638#FFFFFF#000000##FFFFFF
##0716381.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #071638;
/* rgb */ color: rgb(7, 22, 56);
/* oklch */ color: oklch(21.1% 0.070 263.4);
Tailwind
colors: {
  custom: {
    50: '#4f526f',
    500: '#071638',
    950: '#000000',
  },
}
SCSS
$custom: #071638;
$custom-light: #4f526f;
$custom-dark: #000000;
JSON
{
  "hex": "#071638",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 221.633,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21132,
    "c": 0.0696,
    "h": 263.4
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#071638
secondary
#785E23
accent
#B934F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071638

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

Preview Lab → · Contrast checker → · Palette generator →

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