#071941#071941

#071941 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.080 H 263.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#071941
RGBrgb(7, 25, 65)
HSLhsl(221, 81%, 14%)
HSVhsv(221, 89%, 25%)
CMYKcmyk(89.2%, 61.5%, 0%, 74.5%)
CIE-LABlab(9.97, 10.31, -27.52)
CIE-LCHlch(9.97, 29.39, 290.54°)
OKLaboklab(22.75% -0.0097 -0.0794)
OKLCHoklch(22.75% 0.08 263.1)
XYZxyz(1.3890, 1.1219, 5.1433)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071941 #412F07
analogous
#073641 #071941 #120741
triadic
#071941 #410719 #194107
tetradic
#071941 #410736 #412F07 #074112
square
#071941 #410736 #412F07 #074112
split-complementary
#071941 #411207 #364107
monochromatic
#030B1C #030B1C #071941 #0D2E78 #1344B0

Accessibility & contrast

On white

17.15
#071941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#071941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071941
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071941#FFFFFF#000000##FFFFFF
##0719411.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #071941;
/* rgb */ color: rgb(7, 25, 65);
/* oklch */ color: oklch(22.7% 0.080 263.1);
Tailwind
colors: {
  custom: {
    50: '#525576',
    500: '#071941',
    950: '#000000',
  },
}
SCSS
$custom: #071941;
$custom-light: #525576;
$custom-dark: #000000;
JSON
{
  "hex": "#071941",
  "rgb": {
    "r": 7,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 221.379,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22749,
    "c": 0.07998,
    "h": 263.1
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#071941
secondary
#806324
accent
#B931F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071941

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

Preview Lab → · Contrast checker → · Palette generator →

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