#071142#071142

#071142 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.093 H 267.7°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#071142
RGBrgb(7, 17, 66)
HSLhsl(230, 81%, 14%)
HSVhsv(230, 89%, 26%)
CMYKcmyk(89.4%, 74.2%, 0%, 74.1%)
CIE-LABlab(7.58, 17.04, -32.13)
CIE-LCHlch(7.58, 36.37, 297.94°)
OKLaboklab(20.99% -0.0037 -0.0931)
OKLCHoklch(20.99% 0.093 267.7)
XYZxyz(1.2711, 0.8393, 5.2482)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071142 #423807
analogous
#072F42 #071142 #1B0742
triadic
#071142 #420711 #114207
tetradic
#071142 #42072F #423807 #07421B
square
#071142 #42072F #423807 #07421B
split-complementary
#071142 #421B07 #2F4207
monochromatic
#03071C #03071C #071142 #0D1F79 #132EB1

Accessibility & contrast

On white

17.98
#071142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#071142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071142
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071142#FFFFFF#000000##FFFFFF
##0711421.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001441
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071142;
/* rgb */ color: rgb(7, 17, 66);
/* oklch */ color: oklch(21.0% 0.093 267.7);
Tailwind
colors: {
  custom: {
    50: '#534e77',
    500: '#071142',
    950: '#000000',
  },
}
SCSS
$custom: #071142;
$custom-light: #534e77;
$custom-dark: #000000;
JSON
{
  "hex": "#071142",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 229.831,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20994,
    "c": 0.09314,
    "h": 267.7
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#071142
secondary
#817124
accent
#D631F7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #071142

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

Preview Lab → · Contrast checker → · Palette generator →

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