#12143A#12143A

#12143A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.072 H 276.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#12143A
RGBrgb(18, 20, 58)
HSLhsl(237, 53%, 15%)
HSVhsv(237, 69%, 23%)
CMYKcmyk(69%, 65.5%, 0%, 77.3%)
CIE-LABlab(8.43, 13.12, -25.00)
CIE-LCHlch(8.43, 28.23, 297.70°)
OKLaboklab(21.58% 0.0079 -0.0717)
OKLCHoklch(21.58% 0.072 276.2)
XYZxyz(1.2631, 0.9343, 4.1159)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12143A #3A3812
analogous
#12283A #12143A #24123A
triadic
#12143A #3A1214 #143A12
tetradic
#12143A #3A1228 #3A3812 #123A24
square
#12143A #3A1228 #3A3812 #123A24
split-complementary
#12143A #3A2412 #283A12
monochromatic
#070817 #070817 #12143A #202469 #2F3497

Accessibility & contrast

On white

17.69
#12143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12143A
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12143A#FFFFFF#000000##FFFFFF
##12143A1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #12143a;
/* rgb */ color: rgb(18, 20, 58);
/* oklch */ color: oklch(21.6% 0.072 276.2);
Tailwind
colors: {
  custom: {
    50: '#555170',
    500: '#12143a',
    950: '#000000',
  },
}
SCSS
$custom: #12143a;
$custom-light: #555170;
$custom-dark: #000000;
JSON
{
  "hex": "#12143a",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 237,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21583,
    "c": 0.07218,
    "h": 276.2
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#12143A
secondary
#737035
accent
#D54CDC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #12143A

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

Preview Lab → · Contrast checker → · Palette generator →

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