#071F4E#071F4E

#071F4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.092 H 261.8°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#071F4E
RGBrgb(7, 31, 78)
HSLhsl(220, 84%, 17%)
HSVhsv(220, 91%, 31%)
CMYKcmyk(91%, 60.3%, 0%, 69.4%)
CIE-LABlab(13.08, 11.60, -31.51)
CIE-LCHlch(13.08, 33.58, 290.21°)
OKLaboklab(25.47% -0.0131 -0.091)
OKLCHoklch(25.47% 0.092 261.8)
XYZxyz(1.9523, 1.5750, 7.4074)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F4E #4E3607
analogous
#07434E #071F4E #13074E
triadic
#071F4E #4E071F #1F4E07
tetradic
#071F4E #4E0743 #4E3607 #074E13
square
#071F4E #4E0743 #4E3607 #074E13
split-complementary
#071F4E #4E1307 #434E07
monochromatic
#030B1C #030B1C #071F4E #0C3586 #114CBE

Accessibility & contrast

On white

15.97
#071F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#071F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F4E
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F4E#FFFFFF#000000##FFFFFF
##071F4E1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #071f4e;
/* rgb */ color: rgb(7, 31, 78);
/* oklch */ color: oklch(25.5% 0.092 261.8);
Tailwind
colors: {
  custom: {
    50: '#555a80',
    500: '#071f4e',
    950: '#000000',
  },
}
SCSS
$custom: #071f4e;
$custom-light: #555a80;
$custom-dark: #000000;
JSON
{
  "hex": "#071f4e",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 219.718,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25468,
    "c": 0.09192,
    "h": 261.8
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#071F4E
secondary
#8C6925
accent
#B52EFA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #071F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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