#071338#071338

#071338 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.074 H 266.0°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#071338
RGBrgb(7, 19, 56)
HSLhsl(225, 78%, 12%)
HSVhsv(225, 88%, 22%)
CMYKcmyk(87.5%, 66.1%, 0%, 78%)
CIE-LABlab(7.19, 10.82, -25.60)
CIE-LCHlch(7.19, 27.79, 292.92°)
OKLaboklab(20.37% -0.0052 -0.074)
OKLCHoklch(20.37% 0.074 266)
XYZxyz(1.0341, 0.7963, 3.8398)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071338 #382C07
analogous
#072C38 #071338 #130738
triadic
#071338 #380713 #133807
tetradic
#071338 #38072C #382C07 #073813
square
#071338 #38072C #382C07 #073813
split-complementary
#071338 #381307 #2C3807
monochromatic
#03091B #03091B #071338 #0E256E #1538A5

Accessibility & contrast

On white

18.12
#071338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#071338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071338
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071338#FFFFFF#000000##FFFFFF
##0713381.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #071338;
/* rgb */ color: rgb(7, 19, 56);
/* oklch */ color: oklch(20.4% 0.074 266.0);
Tailwind
colors: {
  custom: {
    50: '#4f506f',
    500: '#071338',
    950: '#000000',
  },
}
SCSS
$custom: #071338;
$custom-light: #4f506f;
$custom-dark: #000000;
JSON
{
  "hex": "#071338",
  "rgb": {
    "r": 7,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 225.306,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20373,
    "c": 0.07417,
    "h": 266
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#071338
secondary
#786323
accent
#C534F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071338

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

Preview Lab → · Contrast checker → · Palette generator →

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