#0A072E#0A072E

#0A072E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.075 H 278.4°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#0A072E
RGBrgb(10, 7, 46)
HSLhsl(245, 74%, 10%)
HSVhsv(245, 85%, 18%)
CMYKcmyk(78.3%, 84.8%, 0%, 82%)
CIE-LABlab(3.74, 12.33, -23.77)
CIE-LCHlch(3.74, 26.77, 297.41°)
OKLaboklab(16.77% 0.0109 -0.0741)
OKLCHoklch(16.77% 0.075 278.4)
XYZxyz(0.6941, 0.4137, 2.6275)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A072E #2B2E07
analogous
#07172E #0A072E #1D072E
triadic
#0A072E #2E0A07 #072E0A
tetradic
#0A072E #2E0717 #2B2E07 #072E1D
square
#0A072E #2E0717 #2B2E07 #072E1D
split-complementary
#0A072E #2E1D07 #172E07
monochromatic
#06041B #06041B #0A072E #160F63 #211798

Accessibility & contrast

On white

19.39
#0A072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A072E
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A072E#FFFFFF#000000##FFFFFF
##0A072E1.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a072e;
/* rgb */ color: rgb(10, 7, 46);
/* oklch */ color: oklch(16.8% 0.075 278.4);
Tailwind
colors: {
  custom: {
    50: '#4d4967',
    500: '#0a072e',
    950: '#000000',
  },
}
SCSS
$custom: #0a072e;
$custom-light: #4d4967;
$custom-dark: #000000;
JSON
{
  "hex": "#0a072e",
  "rgb": {
    "r": 10,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 244.615,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16768,
    "c": 0.07494,
    "h": 278.4
  },
  "luminance": 0.00414
}

Semantic roles & 50–950 ramp

primary
#0A072E
secondary
#686E23
accent
#F038E2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010106
muted
#77777A

Preview Lab

Preview with #0A072E

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

Preview Lab → · Contrast checker → · Palette generator →

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