#0A162A#0A162A

#0A162A is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.044 H 260.1°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0A162A
RGBrgb(10, 22, 42)
HSLhsl(218, 62%, 10%)
HSVhsv(218, 76%, 16%)
CMYKcmyk(76.2%, 47.6%, 0%, 83.5%)
CIE-LABlab(7.28, 2.64, -15.17)
CIE-LCHlch(7.28, 15.40, 279.86°)
OKLaboklab(20.13% -0.0075 -0.0432)
OKLCHoklch(20.13% 0.044 260.1)
XYZxyz(0.8299, 0.8054, 2.3018)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A162A #2A1E0A
analogous
#0A262A #0A162A #0E0A2A
triadic
#0A162A #2A0A16 #162A0A
tetradic
#0A162A #2A0A26 #2A1E0A #0A2A0E
square
#0A162A #2A0A26 #2A1E0A #0A2A0E
split-complementary
#0A162A #2A0E0A #262A0A
monochromatic
#060D19 #060D19 #0A162A #16305B #224A8D

Accessibility & contrast

On white

18.08
#0A162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A162A
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A162A#FFFFFF#000000##FFFFFF
##0A162A1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182B
Deuteranopia (green-blind)
#09152A
Tritanopia (blue-blind)
#001B1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a162a;
/* rgb */ color: rgb(10, 22, 42);
/* oklch */ color: oklch(20.1% 0.044 260.1);
Tailwind
colors: {
  custom: {
    50: '#4d5263',
    500: '#0a162a',
    950: '#000000',
  },
}
SCSS
$custom: #0a162a;
$custom-light: #4d5263;
$custom-dark: #000000;
JSON
{
  "hex": "#0a162a",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 217.5,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20126,
    "c": 0.04384,
    "h": 260.1
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#0A162A
secondary
#675029
accent
#A843E5
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #0A162A

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

Preview Lab → · Contrast checker → · Palette generator →

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