#071541#071541

#071541 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.086 H 265.7°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#071541
RGBrgb(7, 21, 65)
HSLhsl(226, 81%, 14%)
HSVhsv(226, 89%, 25%)
CMYKcmyk(89.2%, 67.7%, 0%, 74.5%)
CIE-LABlab(8.68, 13.49, -29.62)
CIE-LCHlch(8.68, 32.55, 294.49°)
OKLaboklab(21.78% -0.0065 -0.0856)
OKLCHoklch(21.78% 0.086 265.7)
XYZxyz(1.3096, 0.9630, 5.1169)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071541 #413307
analogous
#073241 #071541 #160741
triadic
#071541 #410715 #154107
tetradic
#071541 #410732 #413307 #074116
square
#071541 #410732 #413307 #074116
split-complementary
#071541 #411607 #324107
monochromatic
#03091C #03091C #071541 #0D2778 #1339B0

Accessibility & contrast

On white

17.61
#071541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071541
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071541#FFFFFF#000000##FFFFFF
##0715411.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071541;
/* rgb */ color: rgb(7, 21, 65);
/* oklch */ color: oklch(21.8% 0.086 265.7);
Tailwind
colors: {
  custom: {
    50: '#525176',
    500: '#071541',
    950: '#000000',
  },
}
SCSS
$custom: #071541;
$custom-light: #525176;
$custom-dark: #000000;
JSON
{
  "hex": "#071541",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 225.517,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2178,
    "c": 0.08587,
    "h": 265.7
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#071541
secondary
#806A24
accent
#C731F7
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071541

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

Preview Lab → · Contrast checker → · Palette generator →

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