#100C40#100C40

#100C40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.094 H 277.5°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#100C40
RGBrgb(16, 12, 64)
HSLhsl(245, 68%, 15%)
HSVhsv(245, 81%, 25%)
CMYKcmyk(75%, 81.2%, 0%, 74.9%)
CIE-LABlab(6.71, 20.75, -32.10)
CIE-LCHlch(6.71, 38.23, 302.88°)
OKLaboklab(20.42% 0.0123 -0.0931)
OKLCHoklch(20.42% 0.094 277.5)
XYZxyz(1.2703, 0.7432, 4.9260)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100C40 #3C400C
analogous
#0C2240 #100C40 #2A0C40
triadic
#100C40 #40100C #0C4010
tetradic
#100C40 #400C22 #3C400C #0C402A
square
#100C40 #400C22 #3C400C #0C402A
split-complementary
#100C40 #402A0C #22400C
monochromatic
#06051A #06051A #100C40 #1D1674 #2A1FA7

Accessibility & contrast

On white

18.28
#100C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#100C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100C40
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100C40#FFFFFF#000000##FFFFFF
##100C401.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #100c40;
/* rgb */ color: rgb(16, 12, 64);
/* oklch */ color: oklch(20.4% 0.094 277.5);
Tailwind
colors: {
  custom: {
    50: '#564b75',
    500: '#100c40',
    950: '#000000',
  },
}
SCSS
$custom: #100c40;
$custom-light: #564b75;
$custom-dark: #000000;
JSON
{
  "hex": "#100c40",
  "rgb": {
    "r": 16,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 244.615,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20418,
    "c": 0.09389,
    "h": 277.5
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#100C40
secondary
#767C2C
accent
#EB3DDE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #100C40

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

Preview Lab → · Contrast checker → · Palette generator →

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