#12144A#12144A

#12144A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.098 H 274.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#12144A
RGBrgb(18, 20, 74)
HSLhsl(238, 61%, 18%)
HSVhsv(238, 76%, 29%)
CMYKcmyk(75.7%, 73%, 0%, 71%)
CIE-LABlab(9.98, 19.68, -33.78)
CIE-LCHlch(9.98, 39.10, 300.22°)
OKLaboklab(23.2% 0.0071 -0.0975)
OKLCHoklch(23.2% 0.098 274.1)
XYZxyz(1.7352, 1.1232, 6.6026)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12144A #4A4812
analogous
#12304A #12144A #2C124A
triadic
#12144A #4A1214 #144A12
tetradic
#12144A #4A1230 #4A4812 #124A2C
square
#12144A #4A1230 #4A4812 #124A2C
split-complementary
#12144A #4A2C12 #304A12
monochromatic
#060719 #060719 #12144A #1E217B #2A2FAC

Accessibility & contrast

On white

17.15
#12144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#12144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12144A
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12144A#FFFFFF#000000##FFFFFF
##12144A1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#00222C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #12144a;
/* rgb */ color: rgb(18, 20, 74);
/* oklch */ color: oklch(23.2% 0.098 274.1);
Tailwind
colors: {
  custom: {
    50: '#59517d',
    500: '#12144a',
    950: '#000000',
  },
}
SCSS
$custom: #12144a;
$custom-light: #59517d;
$custom-dark: #000000;
JSON
{
  "hex": "#12144a",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 237.857,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23202,
    "c": 0.0978,
    "h": 274.1
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#12144A
secondary
#838035
accent
#DE44E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12144A

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

Preview Lab → · Contrast checker → · Palette generator →

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