#0A162E#0A162E

#0A162E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.4% C 0.051 H 262.7°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#0A162E
RGBrgb(10, 22, 46)
HSLhsl(220, 64%, 11%)
HSVhsv(220, 78%, 18%)
CMYKcmyk(78.3%, 52.2%, 0%, 82%)
CIE-LABlab(7.55, 4.48, -17.71)
CIE-LCHlch(7.55, 18.27, 284.21°)
OKLaboklab(20.44% -0.0065 -0.0505)
OKLCHoklch(20.44% 0.051 262.7)
XYZxyz(0.9051, 0.8355, 2.6978)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A162E #2E220A
analogous
#0A282E #0A162E #100A2E
triadic
#0A162E #2E0A16 #162E0A
tetradic
#0A162E #2E0A28 #2E220A #0A2E10
square
#0A162E #2E0A28 #2E220A #0A2E10
split-complementary
#0A162E #2E100A #282E0A
monochromatic
#050C19 #050C19 #0A162E #152E60 #204693

Accessibility & contrast

On white

17.99
#0A162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0A162E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A162E
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A162E#FFFFFF#000000##FFFFFF
##0A162E1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182F
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a162e;
/* rgb */ color: rgb(10, 22, 46);
/* oklch */ color: oklch(20.4% 0.051 262.7);
Tailwind
colors: {
  custom: {
    50: '#4e5267',
    500: '#0a162e',
    950: '#000000',
  },
}
SCSS
$custom: #0a162e;
$custom-light: #4e5267;
$custom-dark: #000000;
JSON
{
  "hex": "#0a162e",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 220,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2044,
    "c": 0.05096,
    "h": 262.7
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#0A162E
secondary
#6B5529
accent
#B041E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0A162E

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

Preview Lab → · Contrast checker → · Palette generator →

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