#07152A#07152A

#07152A is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.6% C 0.047 H 258.0°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#07152A
RGBrgb(7, 21, 42)
HSLhsl(216, 71%, 10%)
HSVhsv(216, 83%, 16%)
CMYKcmyk(83.3%, 50%, 0%, 83.5%)
CIE-LABlab(6.76, 2.54, -15.99)
CIE-LCHlch(6.76, 16.19, 279.04°)
OKLaboklab(19.64% -0.0098 -0.0459)
OKLCHoklch(19.64% 0.047 258)
XYZxyz(0.7736, 0.7486, 2.2938)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07152A #2A1C07
analogous
#07272A #07152A #0B072A
triadic
#07152A #2A0715 #152A07
tetradic
#07152A #2A0727 #2A1C07 #072A0B
square
#07152A #2A0727 #2A1C07 #072A0B
split-complementary
#07152A #2A0B07 #272A07
monochromatic
#040D1A #040D1A #07152A #102F5E #184993

Accessibility & contrast

On white

18.26
#07152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07152A
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07152A#FFFFFF#000000##FFFFFF
##07152A1.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)
#0B172B
Deuteranopia (green-blind)
#06132A
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #07152a;
/* rgb */ color: rgb(7, 21, 42);
/* oklch */ color: oklch(19.6% 0.047 258.0);
Tailwind
colors: {
  custom: {
    50: '#4b5263',
    500: '#07152a',
    950: '#000000',
  },
}
SCSS
$custom: #07152a;
$custom-light: #4b5263;
$custom-dark: #000000;
JSON
{
  "hex": "#07152a",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19638,
    "c": 0.04694,
    "h": 258
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#07152A
secondary
#6A4D23
accent
#A63AEE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #07152A

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

Preview Lab → · Contrast checker → · Palette generator →

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