#07152C#07152C

#07152C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.8% C 0.050 H 259.5°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#07152C
RGBrgb(7, 21, 44)
HSLhsl(217, 73%, 10%)
HSVhsv(217, 84%, 17%)
CMYKcmyk(84.1%, 52.3%, 0%, 82.7%)
CIE-LABlab(6.89, 3.47, -17.27)
CIE-LCHlch(6.89, 17.62, 281.36°)
OKLaboklab(19.8% -0.0092 -0.0496)
OKLCHoklch(19.8% 0.05 259.5)
XYZxyz(0.8102, 0.7633, 2.4870)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07152C #2C1E07
analogous
#07282C #07152C #0B072C
triadic
#07152C #2C0715 #152C07
tetradic
#07152C #2C0728 #2C1E07 #072C0B
square
#07152C #2C0728 #2C1E07 #072C0B
split-complementary
#07152C #2C0B07 #282C07
monochromatic
#040D1A #040D1A #07152C #0F2E61 #184796

Accessibility & contrast

On white

18.22
#07152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07152C
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07152C#FFFFFF#000000##FFFFFF
##07152C1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #07152c;
/* rgb */ color: rgb(7, 21, 44);
/* oklch */ color: oklch(19.8% 0.050 259.5);
Tailwind
colors: {
  custom: {
    50: '#4b5165',
    500: '#07152c',
    950: '#000000',
  },
}
SCSS
$custom: #07152c;
$custom-light: #4b5165;
$custom-dark: #000000;
JSON
{
  "hex": "#07152c",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 217.297,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.198,
    "c": 0.05045,
    "h": 259.5
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#07152C
secondary
#6C5023
accent
#AA39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #07152C

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

Preview Lab → · Contrast checker → · Palette generator →

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