#0A162B#0A162B

#0A162B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.046 H 260.9°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#0A162B
RGBrgb(10, 22, 43)
HSLhsl(218, 62%, 10%)
HSVhsv(218, 77%, 17%)
CMYKcmyk(76.7%, 48.8%, 0%, 83.1%)
CIE-LABlab(7.34, 3.09, -15.81)
CIE-LCHlch(7.34, 16.11, 281.07°)
OKLaboklab(20.2% -0.0072 -0.045)
OKLCHoklch(20.2% 0.046 260.9)
XYZxyz(0.8480, 0.8127, 2.3972)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A162B #2B1F0A
analogous
#0A262B #0A162B #0E0A2B
triadic
#0A162B #2B0A16 #162B0A
tetradic
#0A162B #2B0A26 #2B1F0A #0A2B0E
square
#0A162B #2B0A26 #2B1F0A #0A2B0E
split-complementary
#0A162B #2B0E0A #262B0A
monochromatic
#060D19 #060D19 #0A162B #162F5D #21498E

Accessibility & contrast

On white

18.06
#0A162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A162B
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A162B#FFFFFF#000000##FFFFFF
##0A162B1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a162b;
/* rgb */ color: rgb(10, 22, 43);
/* oklch */ color: oklch(20.2% 0.046 260.9);
Tailwind
colors: {
  custom: {
    50: '#4d5264',
    500: '#0a162b',
    950: '#000000',
  },
}
SCSS
$custom: #0a162b;
$custom-light: #4d5264;
$custom-dark: #000000;
JSON
{
  "hex": "#0a162b",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 218.182,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20202,
    "c": 0.04562,
    "h": 260.9
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#0A162B
secondary
#685129
accent
#AA42E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #0A162B

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

Preview Lab → · Contrast checker → · Palette generator →

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