#100C31#100C31

#100C31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.070 H 282.1°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#100C31
RGBrgb(16, 12, 49)
HSLhsl(246, 61%, 12%)
HSVhsv(246, 76%, 19%)
CMYKcmyk(67.3%, 75.5%, 0%, 80.8%)
CIE-LABlab(5.37, 13.63, -23.37)
CIE-LCHlch(5.37, 27.06, 300.25°)
OKLaboklab(18.75% 0.0148 -0.0689)
OKLCHoklch(18.75% 0.07 282.1)
XYZxyz(0.8994, 0.5948, 2.9726)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100C31 #2D310C
analogous
#0C1B31 #100C31 #230C31
triadic
#100C31 #31100C #0C3110
tetradic
#100C31 #310C1B #2D310C #0C3123
square
#100C31 #310C1B #2D310C #0C3123
split-complementary
#100C31 #31230C #1B310C
monochromatic
#080619 #080619 #100C31 #201862 #302493

Accessibility & contrast

On white

18.77
#100C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#100C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100C31
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100C31#FFFFFF#000000##FFFFFF
##100C311.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#02151C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #100c31;
/* rgb */ color: rgb(16, 12, 49);
/* oklch */ color: oklch(18.8% 0.070 282.1);
Tailwind
colors: {
  custom: {
    50: '#524b69',
    500: '#100c31',
    950: '#000000',
  },
}
SCSS
$custom: #100c31;
$custom-light: #524b69;
$custom-dark: #000000;
JSON
{
  "hex": "#100c31",
  "rgb": {
    "r": 16,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 246.486,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18753,
    "c": 0.07047,
    "h": 282.1
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#100C31
secondary
#666D2C
accent
#E444D3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #100C31

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

Preview Lab → · Contrast checker → · Palette generator →

#100C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva