#0A162D#0A162D

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

Color values

HEX#0A162D
RGBrgb(10, 22, 45)
HSLhsl(219, 64%, 11%)
HSVhsv(219, 78%, 18%)
CMYKcmyk(77.8%, 51.1%, 0%, 82.4%)
CIE-LABlab(7.48, 4.02, -17.08)
CIE-LCHlch(7.48, 17.55, 283.25°)
OKLaboklab(20.36% -0.0067 -0.0487)
OKLCHoklch(20.36% 0.049 262.2)
XYZxyz(0.8856, 0.8277, 2.5952)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A162D #2D210A
analogous
#0A272D #0A162D #0F0A2D
triadic
#0A162D #2D0A16 #162D0A
tetradic
#0A162D #2D0A27 #2D210A #0A2D0F
square
#0A162D #2D0A27 #2D210A #0A2D0F
split-complementary
#0A162D #2D0F0A #272D0A
monochromatic
#060C19 #060C19 #0A162D #152E5F #204791

Accessibility & contrast

On white

18.02
#0A162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A162D
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A162D#FFFFFF#000000##FFFFFF
##0A162D1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#07152D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a162d;
/* rgb */ color: rgb(10, 22, 45);
/* oklch */ color: oklch(20.4% 0.049 262.2);
Tailwind
colors: {
  custom: {
    50: '#4d5266',
    500: '#0a162d',
    950: '#000000',
  },
}
SCSS
$custom: #0a162d;
$custom-light: #4d5266;
$custom-dark: #000000;
JSON
{
  "hex": "#0a162d",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 219.429,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20359,
    "c": 0.04918,
    "h": 262.2
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#0A162D
secondary
#6A5429
accent
#AE41E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #0A162D

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

Preview Lab → · Contrast checker → · Palette generator →

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