#07142F#07142F

#07142F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.8% C 0.057 H 262.6°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#07142F
RGBrgb(7, 20, 47)
HSLhsl(221, 74%, 11%)
HSVhsv(221, 85%, 18%)
CMYKcmyk(85.1%, 57.4%, 0%, 81.6%)
CIE-LABlab(6.78, 5.62, -19.68)
CIE-LCHlch(6.78, 20.47, 285.95°)
OKLaboklab(19.78% -0.0074 -0.0568)
OKLCHoklch(19.78% 0.057 262.6)
XYZxyz(0.8507, 0.7506, 2.7888)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07142F #2F2207
analogous
#07282F #07142F #0E072F
triadic
#07142F #2F0714 #142F07
tetradic
#07142F #2F0728 #2F2207 #072F0E
square
#07142F #2F0728 #2F2207 #072F0E
split-complementary
#07142F #2F0E07 #282F07
monochromatic
#040B1B #040B1B #07142F #0F2B64 #17419A

Accessibility & contrast

On white

18.26
#07142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#07142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07142F
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07142F#FFFFFF#000000##FFFFFF
##07142F1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #07142f;
/* rgb */ color: rgb(7, 20, 47);
/* oklch */ color: oklch(19.8% 0.057 262.6);
Tailwind
colors: {
  custom: {
    50: '#4c5167',
    500: '#07142f',
    950: '#000000',
  },
}
SCSS
$custom: #07142f;
$custom-light: #4c5167;
$custom-dark: #000000;
JSON
{
  "hex": "#07142f",
  "rgb": {
    "r": 7,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 220.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19778,
    "c": 0.05724,
    "h": 262.6
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#07142F
secondary
#6F5623
accent
#B437F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #07142F

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

Preview Lab → · Contrast checker → · Palette generator →

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