#12192A#12192A

#12192A is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.6% C 0.035 H 266.4°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#12192A
RGBrgb(18, 25, 42)
HSLhsl(223, 40%, 12%)
HSVhsv(223, 57%, 16%)
CMYKcmyk(57.1%, 40.5%, 0%, 83.5%)
CIE-LABlab(8.92, 2.71, -12.55)
CIE-LCHlch(8.92, 12.84, 282.16°)
OKLaboklab(21.57% -0.0022 -0.0352)
OKLCHoklch(21.57% 0.035 266.4)
XYZxyz(1.0149, 0.9910, 2.3278)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12192A #2A2312
analogous
#12252A #12192A #17122A
triadic
#12192A #2A1219 #192A12
tetradic
#12192A #2A1225 #2A2312 #122A17
square
#12192A #2A1225 #2A2312 #122A17
split-complementary
#12192A #2A1712 #252A12
monochromatic
#090D15 #090D15 #12192A #243355 #374C80

Accessibility & contrast

On white

17.53
#12192A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#12192A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12192A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12192A#FFFFFF#000000##FFFFFF
##12192A1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A2B
Deuteranopia (green-blind)
#10182A
Tritanopia (blue-blind)
#091D1F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #12192a;
/* rgb */ color: rgb(18, 25, 42);
/* oklch */ color: oklch(21.6% 0.035 266.4);
Tailwind
colors: {
  custom: {
    50: '#515563',
    500: '#12192a',
    950: '#000000',
  },
}
SCSS
$custom: #12192a;
$custom-light: #515563;
$custom-dark: #000000;
JSON
{
  "hex": "#12192a",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 42
  },
  "hsl": {
    "h": 222.5,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2157,
    "c": 0.0353,
    "h": 266.4
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#12192A
secondary
#615537
accent
#AD58D0
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020305
muted
#787879

Preview Lab

Preview with #12192A

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

Preview Lab → · Contrast checker → · Palette generator →

#12192A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva