#07112F#07112F

#07112F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.0% C 0.062 H 266.3°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#07112F
RGBrgb(7, 17, 47)
HSLhsl(225, 74%, 11%)
HSVhsv(225, 85%, 18%)
CMYKcmyk(85.1%, 63.8%, 0%, 81.6%)
CIE-LABlab(5.88, 7.46, -21.11)
CIE-LCHlch(5.88, 22.39, 289.46°)
OKLaboklab(18.98% -0.004 -0.0618)
OKLCHoklch(18.98% 0.062 266.3)
XYZxyz(0.8010, 0.6512, 2.7723)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07112F #2F2507
analogous
#07252F #07112F #11072F
triadic
#07112F #2F0711 #112F07
tetradic
#07112F #2F0725 #2F2507 #072F11
square
#07112F #2F0725 #2F2507 #072F11
split-complementary
#07112F #2F1107 #252F07
monochromatic
#040A1B #040A1B #07112F #0F2464 #17389A

Accessibility & contrast

On white

18.58
#07112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#07112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07112F
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07112F#FFFFFF#000000##FFFFFF
##07112F1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #07112f;
/* rgb */ color: rgb(7, 17, 47);
/* oklch */ color: oklch(19.0% 0.062 266.3);
Tailwind
colors: {
  custom: {
    50: '#4c4f68',
    500: '#07112f',
    950: '#000000',
  },
}
SCSS
$custom: #07112f;
$custom-light: #4c4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#07112f",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 225,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18978,
    "c": 0.06193,
    "h": 266.3
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#07112F
secondary
#6F5C23
accent
#C237F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #07112F

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

Preview Lab → · Contrast checker → · Palette generator →

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