#071538#071538

#071538 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.071 H 264.3°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#071538
RGBrgb(7, 21, 56)
HSLhsl(223, 78%, 12%)
HSVhsv(223, 88%, 22%)
CMYKcmyk(87.5%, 62.5%, 0%, 78%)
CIE-LABlab(7.83, 9.32, -24.57)
CIE-LCHlch(7.83, 26.27, 290.77°)
OKLaboklab(20.88% -0.0071 -0.0708)
OKLCHoklch(20.88% 0.071 264.3)
XYZxyz(1.0693, 0.8669, 3.8516)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071538 #382A07
analogous
#072E38 #071538 #110738
triadic
#071538 #380715 #153807
tetradic
#071538 #38072E #382A07 #073811
square
#071538 #38072E #382A07 #073811
split-complementary
#071538 #381107 #2E3807
monochromatic
#030A1B #030A1B #071538 #0E296E #153EA5

Accessibility & contrast

On white

17.90
#071538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#071538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071538
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071538#FFFFFF#000000##FFFFFF
##0715381.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A39
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071538;
/* rgb */ color: rgb(7, 21, 56);
/* oklch */ color: oklch(20.9% 0.071 264.3);
Tailwind
colors: {
  custom: {
    50: '#4f516f',
    500: '#071538',
    950: '#000000',
  },
}
SCSS
$custom: #071538;
$custom-light: #4f516f;
$custom-dark: #000000;
JSON
{
  "hex": "#071538",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 222.857,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20875,
    "c": 0.07113,
    "h": 264.3
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#071538
secondary
#785F23
accent
#BD34F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071538

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

Preview Lab → · Contrast checker → · Palette generator →

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