#071540#071540

#071540 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.084 H 265.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#071540
RGBrgb(7, 21, 64)
HSLhsl(225, 80%, 14%)
HSVhsv(225, 89%, 25%)
CMYKcmyk(89.1%, 67.2%, 0%, 74.9%)
CIE-LABlab(8.58, 13.03, -29.07)
CIE-LCHlch(8.58, 31.86, 294.15°)
OKLaboklab(21.68% -0.0065 -0.084)
OKLCHoklch(21.68% 0.084 265.6)
XYZxyz(1.2809, 0.9515, 4.9656)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071540 #403207
analogous
#073240 #071540 #160740
triadic
#071540 #400715 #154007
tetradic
#071540 #400732 #403207 #074016
square
#071540 #400732 #403207 #074016
split-complementary
#071540 #401607 #324007
monochromatic
#03091C #03091C #071540 #0D2777 #1339AE

Accessibility & contrast

On white

17.64
#071540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071540
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071540#FFFFFF#000000##FFFFFF
##0715401.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071540;
/* rgb */ color: rgb(7, 21, 64);
/* oklch */ color: oklch(21.7% 0.084 265.6);
Tailwind
colors: {
  custom: {
    50: '#525175',
    500: '#071540',
    950: '#000000',
  },
}
SCSS
$custom: #071540;
$custom-light: #525175;
$custom-dark: #000000;
JSON
{
  "hex": "#071540",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 225.263,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21676,
    "c": 0.08427,
    "h": 265.6
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#071540
secondary
#7F6924
accent
#C631F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071540

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

Preview Lab → · Contrast checker → · Palette generator →

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