#12102E#12102E

#12102E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.6% C 0.058 H 282.6°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#12102E
RGBrgb(18, 16, 46)
HSLhsl(244, 48%, 12%)
HSVhsv(244, 65%, 18%)
CMYKcmyk(60.9%, 65.2%, 0%, 82%)
CIE-LABlab(6.29, 10.77, -19.67)
CIE-LCHlch(6.29, 22.43, 298.71°)
OKLaboklab(19.56% 0.0127 -0.0568)
OKLCHoklch(19.56% 0.058 282.6)
XYZxyz(0.9277, 0.6964, 2.6698)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12102E #2C2E10
analogous
#101D2E #12102E #21102E
triadic
#12102E #2E1210 #102E12
tetradic
#12102E #2E101D #2C2E10 #102E21
square
#12102E #2E101D #2C2E10 #102E21
split-complementary
#12102E #2E2110 #1D2E10
monochromatic
#090817 #090817 #12102E #24205B #363089

Accessibility & contrast

On white

18.43
#12102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12102E
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12102E#FFFFFF#000000##FFFFFF
##12102E1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#08171C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #12102e;
/* rgb */ color: rgb(18, 16, 46);
/* oklch */ color: oklch(19.6% 0.058 282.6);
Tailwind
colors: {
  custom: {
    50: '#524e67',
    500: '#12102e',
    950: '#000000',
  },
}
SCSS
$custom: #12102e;
$custom-light: #524e67;
$custom-dark: #000000;
JSON
{
  "hex": "#12102e",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 244,
    "s": 48.387,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19555,
    "c": 0.05822,
    "h": 282.6
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#12102E
secondary
#636733
accent
#D850CF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #12102E

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

Preview Lab → · Contrast checker → · Palette generator →

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