#0A072F#0A072F

#0A072F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.077 H 278.0°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0A072F
RGBrgb(10, 7, 47)
HSLhsl(245, 74%, 11%)
HSVhsv(245, 85%, 18%)
CMYKcmyk(78.7%, 85.1%, 0%, 81.6%)
CIE-LABlab(3.81, 12.83, -24.40)
CIE-LCHlch(3.81, 27.57, 297.74°)
OKLaboklab(16.89% 0.0107 -0.0758)
OKLCHoklch(16.89% 0.077 278)
XYZxyz(0.7141, 0.4217, 2.7325)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A072F #2C2F07
analogous
#07182F #0A072F #1E072F
triadic
#0A072F #2F0A07 #072F0A
tetradic
#0A072F #2F0718 #2C2F07 #072F1E
square
#0A072F #2F0718 #2C2F07 #072F1E
split-complementary
#0A072F #2F1E07 #182F07
monochromatic
#06041B #06041B #0A072F #150F64 #21179A

Accessibility & contrast

On white

19.37
#0A072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A072F
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A072F#FFFFFF#000000##FFFFFF
##0A072F1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0a072f;
/* rgb */ color: rgb(10, 7, 47);
/* oklch */ color: oklch(16.9% 0.077 278.0);
Tailwind
colors: {
  custom: {
    50: '#4d4968',
    500: '#0a072f',
    950: '#000000',
  },
}
SCSS
$custom: #0a072f;
$custom-light: #4d4968;
$custom-dark: #000000;
JSON
{
  "hex": "#0a072f",
  "rgb": {
    "r": 10,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 244.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16889,
    "c": 0.07651,
    "h": 278
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#0A072F
secondary
#696F23
accent
#F137E3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A072F

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

Preview Lab → · Contrast checker → · Palette generator →

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