#0A072C#0A072C

#0A072C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.072 H 279.1°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#0A072C
RGBrgb(10, 7, 44)
HSLhsl(245, 73%, 10%)
HSVhsv(245, 84%, 17%)
CMYKcmyk(77.3%, 84.1%, 0%, 82.7%)
CIE-LABlab(3.60, 11.35, -22.48)
CIE-LCHlch(3.60, 25.18, 296.79°)
OKLaboklab(16.53% 0.0113 -0.0708)
OKLCHoklch(16.53% 0.072 279.1)
XYZxyz(0.6556, 0.3983, 2.4247)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A072C #292C07
analogous
#07162C #0A072C #1D072C
triadic
#0A072C #2C0A07 #072C0A
tetradic
#0A072C #2C0716 #292C07 #072C1D
square
#0A072C #2C0716 #292C07 #072C1D
split-complementary
#0A072C #2C1D07 #162C07
monochromatic
#06041A #06041A #0A072C #160F61 #221896

Accessibility & contrast

On white

19.45
#0A072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0A072C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A072C
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A072C#FFFFFF#000000##FFFFFF
##0A072C1.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#000B2B
Tritanopia (blue-blind)
#001118
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0a072c;
/* rgb */ color: rgb(10, 7, 44);
/* oklch */ color: oklch(16.5% 0.072 279.1);
Tailwind
colors: {
  custom: {
    50: '#4c4965',
    500: '#0a072c',
    950: '#000000',
  },
}
SCSS
$custom: #0a072c;
$custom-light: #4c4965;
$custom-dark: #000000;
JSON
{
  "hex": "#0a072c",
  "rgb": {
    "r": 10,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 244.865,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.16529,
    "c": 0.07175,
    "h": 279.1
  },
  "luminance": 0.00398
}

Semantic roles & 50–950 ramp

primary
#0A072C
secondary
#666C23
accent
#EF39E0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010105
muted
#77777A

Preview Lab

Preview with #0A072C

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

Preview Lab → · Contrast checker → · Palette generator →

#0A072C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva