#0A162C#0A162C

#0A162C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.047 H 261.5°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#0A162C
RGBrgb(10, 22, 44)
HSLhsl(219, 63%, 11%)
HSVhsv(219, 77%, 17%)
CMYKcmyk(77.3%, 50%, 0%, 82.7%)
CIE-LABlab(7.41, 3.56, -16.45)
CIE-LCHlch(7.41, 16.83, 282.20°)
OKLaboklab(20.28% -0.007 -0.0469)
OKLCHoklch(20.28% 0.047 261.5)
XYZxyz(0.8665, 0.8201, 2.4950)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A162C #2C200A
analogous
#0A272C #0A162C #0F0A2C
triadic
#0A162C #2C0A16 #162C0A
tetradic
#0A162C #2C0A27 #2C200A #0A2C0F
square
#0A162C #2C0A27 #2C200A #0A2C0F
split-complementary
#0A162C #2C0F0A #272C0A
monochromatic
#060C19 #060C19 #0A162C #152F5E #214890

Accessibility & contrast

On white

18.04
#0A162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A162C
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A162C#FFFFFF#000000##FFFFFF
##0A162C1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182D
Deuteranopia (green-blind)
#08152C
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a162c;
/* rgb */ color: rgb(10, 22, 44);
/* oklch */ color: oklch(20.3% 0.047 261.5);
Tailwind
colors: {
  custom: {
    50: '#4d5265',
    500: '#0a162c',
    950: '#000000',
  },
}
SCSS
$custom: #0a162c;
$custom-light: #4d5265;
$custom-dark: #000000;
JSON
{
  "hex": "#0a162c",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 218.824,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2028,
    "c": 0.04741,
    "h": 261.5
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#0A162C
secondary
#695229
accent
#AC42E6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0A162C

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

Preview Lab → · Contrast checker → · Palette generator →

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