#07152B#07152B

#07152B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.7% C 0.049 H 258.8°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#07152B
RGBrgb(7, 21, 43)
HSLhsl(217, 72%, 10%)
HSVhsv(217, 84%, 17%)
CMYKcmyk(83.7%, 51.2%, 0%, 83.1%)
CIE-LABlab(6.83, 3.00, -16.64)
CIE-LCHlch(6.83, 16.90, 280.24°)
OKLaboklab(19.72% -0.0095 -0.0478)
OKLCHoklch(19.72% 0.049 258.8)
XYZxyz(0.7917, 0.7558, 2.3892)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07152B #2B1D07
analogous
#07272B #07152B #0B072B
triadic
#07152B #2B0715 #152B07
tetradic
#07152B #2B0727 #2B1D07 #072B0B
square
#07152B #2B0727 #2B1D07 #072B0B
split-complementary
#07152B #2B0B07 #272B07
monochromatic
#040D1A #040D1A #07152B #102F60 #184894

Accessibility & contrast

On white

18.24
#07152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07152B
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07152B#FFFFFF#000000##FFFFFF
##07152B1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#06142B
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #07152b;
/* rgb */ color: rgb(7, 21, 43);
/* oklch */ color: oklch(19.7% 0.049 258.8);
Tailwind
colors: {
  custom: {
    50: '#4b5264',
    500: '#07152b',
    950: '#000000',
  },
}
SCSS
$custom: #07152b;
$custom-light: #4b5264;
$custom-dark: #000000;
JSON
{
  "hex": "#07152b",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 216.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19719,
    "c": 0.04869,
    "h": 258.8
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#07152B
secondary
#6B4F23
accent
#A839EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #07152B

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

Preview Lab → · Contrast checker → · Palette generator →

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