#07122F#07122F

#07122F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.060 H 265.1°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#07122F
RGBrgb(7, 18, 47)
HSLhsl(224, 74%, 11%)
HSVhsv(224, 85%, 18%)
CMYKcmyk(85.1%, 61.7%, 0%, 81.6%)
CIE-LABlab(6.17, 6.87, -20.65)
CIE-LCHlch(6.17, 21.77, 288.40°)
OKLaboklab(19.24% -0.0051 -0.0601)
OKLCHoklch(19.24% 0.06 265.1)
XYZxyz(0.8168, 0.6829, 2.7775)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07122F #2F2407
analogous
#07262F #07122F #10072F
triadic
#07122F #2F0712 #122F07
tetradic
#07122F #2F0726 #2F2407 #072F10
square
#07122F #2F0726 #2F2407 #072F10
split-complementary
#07122F #2F1007 #262F07
monochromatic
#040A1B #040A1B #07122F #0F2664 #173B9A

Accessibility & contrast

On white

18.48
#07122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#07122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07122F
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07122F#FFFFFF#000000##FFFFFF
##07122F1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #07122f;
/* rgb */ color: rgb(7, 18, 47);
/* oklch */ color: oklch(19.2% 0.060 265.1);
Tailwind
colors: {
  custom: {
    50: '#4c4f68',
    500: '#07122f',
    950: '#000000',
  },
}
SCSS
$custom: #07122f;
$custom-light: #4c4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#07122f",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 223.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19241,
    "c": 0.06036,
    "h": 265.1
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#07122F
secondary
#6F5A23
accent
#BE37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #07122F

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

Preview Lab → · Contrast checker → · Palette generator →

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