#10162C#10162C

#10162C is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.7% C 0.045 H 270.6°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#10162C
RGBrgb(16, 22, 44)
HSLhsl(227, 47%, 12%)
HSVhsv(227, 64%, 17%)
CMYKcmyk(63.6%, 50%, 0%, 82.7%)
CIE-LABlab(7.82, 5.22, -15.77)
CIE-LCHlch(7.82, 16.61, 288.32°)
OKLaboklab(20.72% 0.0005 -0.0447)
OKLCHoklch(20.72% 0.045 270.6)
XYZxyz(0.9551, 0.8658, 2.4992)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10162C #2C2610
analogous
#10242C #10162C #18102C
triadic
#10162C #2C1016 #162C10
tetradic
#10162C #2C1024 #2C2610 #102C18
square
#10162C #2C1024 #2C2610 #102C18
split-complementary
#10162C #2C1810 #242C10
monochromatic
#080B16 #080B16 #10162C #202C59 #314386

Accessibility & contrast

On white

17.90
#10162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#10162C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10162C
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10162C#FFFFFF#000000##FFFFFF
##10162C1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182D
Deuteranopia (green-blind)
#0A162C
Tritanopia (blue-blind)
#051B1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #10162c;
/* rgb */ color: rgb(16, 22, 44);
/* oklch */ color: oklch(20.7% 0.045 270.6);
Tailwind
colors: {
  custom: {
    50: '#505265',
    500: '#10162c',
    950: '#000000',
  },
}
SCSS
$custom: #10162c;
$custom-light: #505265;
$custom-dark: #000000;
JSON
{
  "hex": "#10162c",
  "rgb": {
    "r": 16,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 227.143,
    "s": 46.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20722,
    "c": 0.04468,
    "h": 270.6
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#10162C
secondary
#655A33
accent
#BA51D6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #10162C

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

Preview Lab → · Contrast checker → · Palette generator →

#10162C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva