#071938#071938

#071938 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.065 H 260.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#071938
RGBrgb(7, 25, 56)
HSLhsl(218, 78%, 12%)
HSVhsv(218, 88%, 22%)
CMYKcmyk(87.5%, 55.4%, 0%, 78%)
CIE-LABlab(9.20, 6.11, -22.35)
CIE-LCHlch(9.20, 23.17, 285.28°)
OKLaboklab(21.92% -0.011 -0.0641)
OKLCHoklch(21.92% 0.065 260.3)
XYZxyz(1.1488, 1.0258, 3.8781)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071938 #382607
analogous
#073238 #071938 #0D0738
triadic
#071938 #380719 #193807
tetradic
#071938 #380732 #382607 #07380D
square
#071938 #380732 #382607 #07380D
split-complementary
#071938 #380D07 #323807
monochromatic
#030C1B #030C1B #071938 #0E316E #154AA5

Accessibility & contrast

On white

17.42
#071938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#071938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071938
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071938#FFFFFF#000000##FFFFFF
##0719381.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C39
Deuteranopia (green-blind)
#001837
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071938;
/* rgb */ color: rgb(7, 25, 56);
/* oklch */ color: oklch(21.9% 0.065 260.3);
Tailwind
colors: {
  custom: {
    50: '#4f556f',
    500: '#071938',
    950: '#000000',
  },
}
SCSS
$custom: #071938;
$custom-light: #4f556f;
$custom-dark: #000000;
JSON
{
  "hex": "#071938",
  "rgb": {
    "r": 7,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 217.959,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21924,
    "c": 0.06509,
    "h": 260.3
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#071938
secondary
#785923
accent
#AD34F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071938

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

Preview Lab → · Contrast checker → · Palette generator →

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