#071841#071841

#071841 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.081 H 263.8°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#071841
RGBrgb(7, 24, 65)
HSLhsl(222, 81%, 14%)
HSVhsv(222, 89%, 25%)
CMYKcmyk(89.2%, 63.1%, 0%, 74.5%)
CIE-LABlab(9.64, 11.11, -28.06)
CIE-LCHlch(9.64, 30.18, 291.60°)
OKLaboklab(22.5% -0.0088 -0.081)
OKLCHoklch(22.5% 0.081 263.8)
XYZxyz(1.3681, 1.0799, 5.1363)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071841 #413007
analogous
#073541 #071841 #130741
triadic
#071841 #410718 #184107
tetradic
#071841 #410735 #413007 #074113
square
#071841 #410735 #413007 #074113
split-complementary
#071841 #411307 #354107
monochromatic
#030A1C #030A1C #071841 #0D2C78 #1341B0

Accessibility & contrast

On white

17.27
#071841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071841
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071841#FFFFFF#000000##FFFFFF
##0718411.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #071841;
/* rgb */ color: rgb(7, 24, 65);
/* oklch */ color: oklch(22.5% 0.081 263.8);
Tailwind
colors: {
  custom: {
    50: '#525476',
    500: '#071841',
    950: '#000000',
  },
}
SCSS
$custom: #071841;
$custom-light: #525476;
$custom-dark: #000000;
JSON
{
  "hex": "#071841",
  "rgb": {
    "r": 7,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 222.414,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22501,
    "c": 0.08146,
    "h": 263.8
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#071841
secondary
#806524
accent
#BD31F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071841

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

Preview Lab → · Contrast checker → · Palette generator →

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