#07152F#07152F

#07152F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.056 H 261.2°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#07152F
RGBrgb(7, 21, 47)
HSLhsl(219, 74%, 11%)
HSVhsv(219, 85%, 18%)
CMYKcmyk(85.1%, 55.3%, 0%, 81.6%)
CIE-LABlab(7.11, 4.95, -19.16)
CIE-LCHlch(7.11, 19.79, 284.48°)
OKLaboklab(20.05% -0.0085 -0.055)
OKLCHoklch(20.05% 0.056 261.2)
XYZxyz(0.8687, 0.7866, 2.7948)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07152F #2F2107
analogous
#07292F #07152F #0D072F
triadic
#07152F #2F0715 #152F07
tetradic
#07152F #2F0729 #2F2107 #072F0D
square
#07152F #2F0729 #2F2107 #072F0D
split-complementary
#07152F #2F0D07 #292F07
monochromatic
#040C1B #040C1B #07152F #0F2D64 #17459A

Accessibility & contrast

On white

18.14
#07152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#07152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07152F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07152F#FFFFFF#000000##FFFFFF
##07152F1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#02142E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #07152f;
/* rgb */ color: rgb(7, 21, 47);
/* oklch */ color: oklch(20.1% 0.056 261.2);
Tailwind
colors: {
  custom: {
    50: '#4c5167',
    500: '#07152f',
    950: '#000000',
  },
}
SCSS
$custom: #07152f;
$custom-light: #4c5167;
$custom-dark: #000000;
JSON
{
  "hex": "#07152f",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 219,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20053,
    "c": 0.0557,
    "h": 261.2
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#07152F
secondary
#6F5423
accent
#B037F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #07152F

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

Preview Lab → · Contrast checker → · Palette generator →

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