#071C41#071C41

#071C41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.5% C 0.076 H 260.6°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#071C41
RGBrgb(7, 28, 65)
HSLhsl(218, 81%, 14%)
HSVhsv(218, 89%, 25%)
CMYKcmyk(89.2%, 56.9%, 0%, 74.5%)
CIE-LABlab(10.97, 7.94, -25.90)
CIE-LCHlch(10.97, 27.09, 287.04°)
OKLaboklab(23.51% -0.0123 -0.0745)
OKLCHoklch(23.51% 0.076 260.6)
XYZxyz(1.4567, 1.2572, 5.1659)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071C41 #412C07
analogous
#073941 #071C41 #0F0741
triadic
#071C41 #41071C #1C4107
tetradic
#071C41 #410739 #412C07 #07410F
square
#071C41 #410739 #412C07 #07410F
split-complementary
#071C41 #410F07 #394107
monochromatic
#030C1C #030C1C #071C41 #0D3478 #134CB0

Accessibility & contrast

On white

16.78
#071C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#071C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071C41
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071C41#FFFFFF#000000##FFFFFF
##071C411.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062042
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071c41;
/* rgb */ color: rgb(7, 28, 65);
/* oklch */ color: oklch(23.5% 0.076 260.6);
Tailwind
colors: {
  custom: {
    50: '#525776',
    500: '#071c41',
    950: '#000000',
  },
}
SCSS
$custom: #071c41;
$custom-light: #525776;
$custom-dark: #000000;
JSON
{
  "hex": "#071c41",
  "rgb": {
    "r": 7,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 218.276,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23514,
    "c": 0.07555,
    "h": 260.6
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#071C41
secondary
#805F24
accent
#AF31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071C41

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

Preview Lab → · Contrast checker → · Palette generator →

#071C41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva