#071334#071334

#071334 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.0% C 0.067 H 265.3°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#071334
RGBrgb(7, 19, 52)
HSLhsl(224, 76%, 12%)
HSVhsv(224, 87%, 20%)
CMYKcmyk(86.5%, 63.5%, 0%, 79.6%)
CIE-LABlab(6.85, 8.82, -23.24)
CIE-LCHlch(6.85, 24.86, 290.79°)
OKLaboklab(19.98% -0.0056 -0.0672)
OKLCHoklch(19.98% 0.067 265.3)
XYZxyz(0.9401, 0.7587, 3.3451)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071334 #342807
analogous
#072A34 #071334 #120734
triadic
#071334 #340713 #133407
tetradic
#071334 #34072A #342807 #073412
square
#071334 #34072A #342807 #073412
split-complementary
#071334 #341207 #2A3407
monochromatic
#040A1B #040A1B #071334 #0E276A #163AA0

Accessibility & contrast

On white

18.23
#071334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#071334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071334
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071334#FFFFFF#000000##FFFFFF
##0713341.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071334;
/* rgb */ color: rgb(7, 19, 52);
/* oklch */ color: oklch(20.0% 0.067 265.3);
Tailwind
colors: {
  custom: {
    50: '#4e506c',
    500: '#071334',
    950: '#000000',
  },
}
SCSS
$custom: #071334;
$custom-light: #4e506c;
$custom-dark: #000000;
JSON
{
  "hex": "#071334",
  "rgb": {
    "r": 7,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 224,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19977,
    "c": 0.06744,
    "h": 265.3
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#071334
secondary
#745E23
accent
#C035F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071334

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

Preview Lab → · Contrast checker → · Palette generator →

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