#10142C#10142C

#10142C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.048 H 274.2°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#10142C
RGBrgb(16, 20, 44)
HSLhsl(231, 47%, 12%)
HSVhsv(231, 64%, 17%)
CMYKcmyk(63.6%, 54.5%, 0%, 82.7%)
CIE-LABlab(7.16, 6.68, -16.82)
CIE-LCHlch(7.16, 18.10, 291.66°)
OKLaboklab(20.19% 0.0035 -0.0479)
OKLCHoklch(20.19% 0.048 274.2)
XYZxyz(0.9183, 0.7923, 2.4869)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10142C #2C2810
analogous
#10222C #10142C #1A102C
triadic
#10142C #2C1014 #142C10
tetradic
#10142C #2C1022 #2C2810 #102C1A
square
#10142C #2C1022 #2C2810 #102C1A
split-complementary
#10142C #2C1A10 #222C10
monochromatic
#080A16 #080A16 #10142C #202859 #313D86

Accessibility & contrast

On white

18.13
#10142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#10142C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10142C
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10142C#FFFFFF#000000##FFFFFF
##10142C1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#07152B
Tritanopia (blue-blind)
#05191D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #10142c;
/* rgb */ color: rgb(16, 20, 44);
/* oklch */ color: oklch(20.2% 0.048 274.2);
Tailwind
colors: {
  custom: {
    50: '#505165',
    500: '#10142c',
    950: '#000000',
  },
}
SCSS
$custom: #10142c;
$custom-light: #505165;
$custom-dark: #000000;
JSON
{
  "hex": "#10142c",
  "rgb": {
    "r": 16,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 231.429,
    "s": 46.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20191,
    "c": 0.04806,
    "h": 274.2
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#10142C
secondary
#655E33
accent
#C351D6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #10142C

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

Preview Lab → · Contrast checker → · Palette generator →

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