#12184A#12184A

#12184A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.092 H 272.2°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#12184A
RGBrgb(18, 24, 74)
HSLhsl(234, 61%, 18%)
HSVhsv(234, 76%, 29%)
CMYKcmyk(75.7%, 67.6%, 0%, 71%)
CIE-LABlab(11.11, 16.72, -31.94)
CIE-LCHlch(11.11, 36.05, 297.63°)
OKLaboklab(24.03% 0.0035 -0.0921)
OKLCHoklch(24.03% 0.092 272.2)
XYZxyz(1.8117, 1.2761, 6.6281)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12184A #4A4412
analogous
#12344A #12184A #28124A
triadic
#12184A #4A1218 #184A12
tetradic
#12184A #4A1234 #4A4412 #124A28
square
#12184A #4A1234 #4A4412 #124A28
split-complementary
#12184A #4A2812 #344A12
monochromatic
#060819 #060819 #12184A #1E287B #2A38AC

Accessibility & contrast

On white

16.73
#12184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#12184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12184A
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12184A#FFFFFF#000000##FFFFFF
##12184A1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12184a;
/* rgb */ color: rgb(18, 24, 74);
/* oklch */ color: oklch(24.0% 0.092 272.2);
Tailwind
colors: {
  custom: {
    50: '#59547d',
    500: '#12184a',
    950: '#000000',
  },
}
SCSS
$custom: #12184a;
$custom-light: #59547d;
$custom-dark: #000000;
JSON
{
  "hex": "#12184a",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 233.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24031,
    "c": 0.09218,
    "h": 272.2
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#12184A
secondary
#837B35
accent
#D344E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12184A

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

Preview Lab → · Contrast checker → · Palette generator →

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