#07152D#07152D

#07152D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.9% C 0.052 H 260.1°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#07152D
RGBrgb(7, 21, 45)
HSLhsl(218, 73%, 10%)
HSVhsv(218, 84%, 18%)
CMYKcmyk(84.4%, 53.3%, 0%, 82.4%)
CIE-LABlab(6.96, 3.96, -17.91)
CIE-LCHlch(6.96, 18.34, 282.46°)
OKLaboklab(19.88% -0.009 -0.0514)
OKLCHoklch(19.88% 0.052 260.1)
XYZxyz(0.8293, 0.7709, 2.5872)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07152D #2D1F07
analogous
#07282D #07152D #0C072D
triadic
#07152D #2D0715 #152D07
tetradic
#07152D #2D0728 #2D1F07 #072D0C
square
#07152D #2D0728 #2D1F07 #072D0C
split-complementary
#07152D #2D0C07 #282D07
monochromatic
#040C1A #040C1A #07152D #0F2E62 #174697

Accessibility & contrast

On white

18.19
#07152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#07152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07152D
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07152D#FFFFFF#000000##FFFFFF
##07152D1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #07152d;
/* rgb */ color: rgb(7, 21, 45);
/* oklch */ color: oklch(19.9% 0.052 260.1);
Tailwind
colors: {
  custom: {
    50: '#4c5166',
    500: '#07152d',
    950: '#000000',
  },
}
SCSS
$custom: #07152d;
$custom-light: #4c5166;
$custom-dark: #000000;
JSON
{
  "hex": "#07152d",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 217.895,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19883,
    "c": 0.05221,
    "h": 260.1
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#07152D
secondary
#6D5223
accent
#AC38F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #07152D

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

Preview Lab → · Contrast checker → · Palette generator →

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