#0A072D#0A072D

#0A072D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.073 H 278.7°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#0A072D
RGBrgb(10, 7, 45)
HSLhsl(245, 73%, 10%)
HSVhsv(245, 84%, 18%)
CMYKcmyk(77.8%, 84.4%, 0%, 82.4%)
CIE-LABlab(3.67, 11.83, -23.13)
CIE-LCHlch(3.67, 25.98, 297.10°)
OKLaboklab(16.65% 0.0111 -0.0725)
OKLCHoklch(16.65% 0.073 278.7)
XYZxyz(0.6747, 0.4059, 2.5249)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A072D #2A2D07
analogous
#07172D #0A072D #1D072D
triadic
#0A072D #2D0A07 #072D0A
tetradic
#0A072D #2D0717 #2A2D07 #072D1D
square
#0A072D #2D0717 #2A2D07 #072D1D
split-complementary
#0A072D #2D1D07 #172D07
monochromatic
#06041A #06041A #0A072D #160F62 #221797

Accessibility & contrast

On white

19.42
#0A072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A072D
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A072D#FFFFFF#000000##FFFFFF
##0A072D1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000C2C
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0a072d;
/* rgb */ color: rgb(10, 7, 45);
/* oklch */ color: oklch(16.6% 0.073 278.7);
Tailwind
colors: {
  custom: {
    50: '#4d4966',
    500: '#0a072d',
    950: '#000000',
  },
}
SCSS
$custom: #0a072d;
$custom-light: #4d4966;
$custom-dark: #000000;
JSON
{
  "hex": "#0a072d",
  "rgb": {
    "r": 10,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 244.737,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16648,
    "c": 0.07334,
    "h": 278.7
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#0A072D
secondary
#676D23
accent
#F038E1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010106
muted
#77777A

Preview Lab

Preview with #0A072D

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

Preview Lab → · Contrast checker → · Palette generator →

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