#07112B#07112B

#07112B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.6% C 0.055 H 265.2°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#07112B
RGBrgb(7, 17, 43)
HSLhsl(223, 72%, 10%)
HSVhsv(223, 84%, 17%)
CMYKcmyk(83.7%, 60.5%, 0%, 83.1%)
CIE-LABlab(5.60, 5.50, -18.57)
CIE-LCHlch(5.60, 19.36, 286.51°)
OKLaboklab(18.6% -0.0046 -0.0547)
OKLCHoklch(18.6% 0.055 265.2)
XYZxyz(0.7240, 0.6204, 2.3666)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07112B #2B2107
analogous
#07232B #07112B #0F072B
triadic
#07112B #2B0711 #112B07
tetradic
#07112B #2B0723 #2B2107 #072B0F
square
#07112B #2B0723 #2B2107 #072B0F
split-complementary
#07112B #2B0F07 #232B07
monochromatic
#040A1A #040A1A #07112B #102660 #183B94

Accessibility & contrast

On white

18.68
#07112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#07112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07112B
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07112B#FFFFFF#000000##FFFFFF
##07112B1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#00112A
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #07112b;
/* rgb */ color: rgb(7, 17, 43);
/* oklch */ color: oklch(18.6% 0.055 265.2);
Tailwind
colors: {
  custom: {
    50: '#4b4f64',
    500: '#07112b',
    950: '#000000',
  },
}
SCSS
$custom: #07112b;
$custom-light: #4b4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#07112b",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 223.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18603,
    "c": 0.05486,
    "h": 265.2
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#07112B
secondary
#6B5723
accent
#BC39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #07112B

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

Preview Lab → · Contrast checker → · Palette generator →

#07112B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva