#12102C#12102C

#12102C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.4% C 0.055 H 283.3°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#12102C
RGBrgb(18, 16, 44)
HSLhsl(244, 47%, 12%)
HSVhsv(244, 64%, 17%)
CMYKcmyk(59.1%, 63.6%, 0%, 82.7%)
CIE-LABlab(6.15, 9.88, -18.40)
CIE-LCHlch(6.15, 20.88, 298.22°)
OKLaboklab(19.38% 0.0125 -0.0532)
OKLCHoklch(19.38% 0.055 283.3)
XYZxyz(0.8892, 0.6810, 2.4670)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12102C #2A2C10
analogous
#101C2C #12102C #20102C
triadic
#12102C #2C1210 #102C12
tetradic
#12102C #2C101C #2A2C10 #102C20
square
#12102C #2C101C #2A2C10 #102C20
split-complementary
#12102C #2C2010 #1C2C10
monochromatic
#090816 #090816 #12102C #242059 #373186

Accessibility & contrast

On white

18.48
#12102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#12102C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12102C
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12102C#FFFFFF#000000##FFFFFF
##12102C1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152D
Deuteranopia (green-blind)
#03132B
Tritanopia (blue-blind)
#09161B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #12102c;
/* rgb */ color: rgb(18, 16, 44);
/* oklch */ color: oklch(19.4% 0.055 283.3);
Tailwind
colors: {
  custom: {
    50: '#524e65',
    500: '#12102c',
    950: '#000000',
  },
}
SCSS
$custom: #12102c;
$custom-light: #524e65;
$custom-dark: #000000;
JSON
{
  "hex": "#12102c",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 244.286,
    "s": 46.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19379,
    "c": 0.05468,
    "h": 283.3
  },
  "luminance": 0.00681
}

Semantic roles & 50–950 ramp

primary
#12102C
secondary
#616533
accent
#D651CD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #12102C

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

Preview Lab → · Contrast checker → · Palette generator →

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