#12142D#12142D

#12142D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.5% C 0.049 H 277.6°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#12142D
RGBrgb(18, 20, 45)
HSLhsl(236, 43%, 12%)
HSVhsv(236, 60%, 18%)
CMYKcmyk(60%, 55.6%, 0%, 82.4%)
CIE-LABlab(7.39, 7.74, -17.18)
CIE-LCHlch(7.39, 18.84, 294.26°)
OKLaboklab(20.45% 0.0066 -0.0488)
OKLCHoklch(20.45% 0.049 277.6)
XYZxyz(0.9731, 0.8183, 2.5888)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12142D #2D2B12
analogous
#12212D #12142D #1E122D
triadic
#12142D #2D1214 #142D12
tetradic
#12142D #2D1221 #2D2B12 #122D1E
square
#12142D #2D1221 #2D2B12 #122D1E
split-complementary
#12142D #2D1E12 #212D12
monochromatic
#090A16 #090A16 #12142D #232759 #353B84

Accessibility & contrast

On white

18.05
#12142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#12142D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12142D
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12142D#FFFFFF#000000##FFFFFF
##12142D1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172E
Deuteranopia (green-blind)
#07152C
Tritanopia (blue-blind)
#08191E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #12142d;
/* rgb */ color: rgb(18, 20, 45);
/* oklch */ color: oklch(20.5% 0.049 277.6);
Tailwind
colors: {
  custom: {
    50: '#525166',
    500: '#12142d',
    950: '#000000',
  },
}
SCSS
$custom: #12142d;
$custom-light: #525166;
$custom-dark: #000000;
JSON
{
  "hex": "#12142d",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 235.556,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20451,
    "c": 0.04929,
    "h": 277.6
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#12142D
secondary
#656136
accent
#C955D3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #12142D

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

Preview Lab → · Contrast checker → · Palette generator →

#12142D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva