#071138#071138

#071138 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.077 H 267.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#071138
RGBrgb(7, 17, 56)
HSLhsl(228, 78%, 12%)
HSVhsv(228, 88%, 22%)
CMYKcmyk(87.5%, 69.6%, 0%, 78%)
CIE-LABlab(6.61, 12.17, -26.55)
CIE-LCHlch(6.61, 29.20, 294.63°)
OKLaboklab(19.89% -0.0035 -0.0771)
OKLCHoklch(19.89% 0.077 267.4)
XYZxyz(1.0016, 0.7315, 3.8290)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071138 #382E07
analogous
#072A38 #071138 #150738
triadic
#071138 #380711 #113807
tetradic
#071138 #38072A #382E07 #073815
square
#071138 #38072A #382E07 #073815
split-complementary
#071138 #381507 #2A3807
monochromatic
#03081B #03081B #071138 #0E226E #1532A5

Accessibility & contrast

On white

18.32
#071138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071138
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071138#FFFFFF#000000##FFFFFF
##0711381.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071138;
/* rgb */ color: rgb(7, 17, 56);
/* oklch */ color: oklch(19.9% 0.077 267.4);
Tailwind
colors: {
  custom: {
    50: '#4f4e6f',
    500: '#071138',
    950: '#000000',
  },
}
SCSS
$custom: #071138;
$custom-light: #4f4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#071138",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 227.755,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19889,
    "c": 0.0772,
    "h": 267.4
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#071138
secondary
#786623
accent
#CD34F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #071138

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

Preview Lab → · Contrast checker → · Palette generator →

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