#12143D#12143D

#12143D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.077 H 275.9°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#12143D
RGBrgb(18, 20, 61)
HSLhsl(237, 54%, 15%)
HSVhsv(237, 70%, 24%)
CMYKcmyk(70.5%, 67.2%, 0%, 76.1%)
CIE-LABlab(8.70, 14.36, -26.71)
CIE-LCHlch(8.70, 30.33, 298.27°)
OKLaboklab(21.87% 0.0079 -0.0768)
OKLCHoklch(21.87% 0.077 275.9)
XYZxyz(1.3416, 0.9657, 4.5297)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12143D #3D3B12
analogous
#12293D #12143D #25123D
triadic
#12143D #3D1214 #143D12
tetradic
#12143D #3D1229 #3D3B12 #123D25
square
#12143D #3D1229 #3D3B12 #123D25
split-complementary
#12143D #3D2512 #293D12
monochromatic
#070818 #070818 #12143D #20236C #2E339C

Accessibility & contrast

On white

17.60
#12143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#12143D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12143D
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12143D#FFFFFF#000000##FFFFFF
##12143D1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#001E26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #12143d;
/* rgb */ color: rgb(18, 20, 61);
/* oklch */ color: oklch(21.9% 0.077 275.9);
Tailwind
colors: {
  custom: {
    50: '#565173',
    500: '#12143d',
    950: '#000000',
  },
}
SCSS
$custom: #12143d;
$custom-light: #565173;
$custom-dark: #000000;
JSON
{
  "hex": "#12143d",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 237.209,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2187,
    "c": 0.07718,
    "h": 275.9
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#12143D
secondary
#767335
accent
#D74ADE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #12143D

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

Preview Lab → · Contrast checker → · Palette generator →

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