#071140#071140

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

Color values

HEX#071140
RGBrgb(7, 17, 64)
HSLhsl(229, 80%, 14%)
HSVhsv(229, 89%, 25%)
CMYKcmyk(89.1%, 73.4%, 0%, 74.9%)
CIE-LABlab(7.37, 16.11, -31.05)
CIE-LCHlch(7.37, 34.98, 297.42°)
OKLaboklab(20.77% -0.0036 -0.09)
OKLCHoklch(20.77% 0.09 267.7)
XYZxyz(1.2132, 0.8161, 4.9431)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071140 #403607
analogous
#072E40 #071140 #1A0740
triadic
#071140 #400711 #114007
tetradic
#071140 #40072E #403607 #07401A
square
#071140 #40072E #403607 #07401A
split-complementary
#071140 #401A07 #2E4007
monochromatic
#03071C #03071C #071140 #0D2077 #132EAE

Accessibility & contrast

On white

18.05
#071140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071140
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071140#FFFFFF#000000##FFFFFF
##0711401.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #071140;
/* rgb */ color: rgb(7, 17, 64);
/* oklch */ color: oklch(20.8% 0.090 267.7);
Tailwind
colors: {
  custom: {
    50: '#524e75',
    500: '#071140',
    950: '#000000',
  },
}
SCSS
$custom: #071140;
$custom-light: #524e75;
$custom-dark: #000000;
JSON
{
  "hex": "#071140",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 229.474,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20767,
    "c": 0.09003,
    "h": 267.7
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#071140
secondary
#7F6F24
accent
#D431F7
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #071140

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

Preview Lab → · Contrast checker → · Palette generator →

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