#12184D#12184D

#12184D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.097 H 272.0°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#12184D
RGBrgb(18, 24, 77)
HSLhsl(234, 62%, 19%)
HSVhsv(234, 77%, 30%)
CMYKcmyk(76.6%, 68.8%, 0%, 69.8%)
CIE-LABlab(11.40, 17.97, -33.54)
CIE-LCHlch(11.40, 38.05, 298.18°)
OKLaboklab(24.34% 0.0034 -0.0968)
OKLCHoklch(24.34% 0.097 272)
XYZxyz(1.9152, 1.3175, 7.1731)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12184D #4D4712
analogous
#12354D #12184D #29124D
triadic
#12184D #4D1218 #184D12
tetradic
#12184D #4D1235 #4D4712 #124D29
square
#12184D #4D1235 #4D4712 #124D29
split-complementary
#12184D #4D2912 #354D12
monochromatic
#060819 #06091B #12184D #1E277F #2937B0

Accessibility & contrast

On white

16.62
#12184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12184D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12184D#FFFFFF#000000##FFFFFF
##12184D1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12184d;
/* rgb */ color: rgb(18, 24, 77);
/* oklch */ color: oklch(24.3% 0.097 272.0);
Tailwind
colors: {
  custom: {
    50: '#5a547f',
    500: '#12184d',
    950: '#000000',
  },
}
SCSS
$custom: #12184d;
$custom-light: #5a547f;
$custom-dark: #000000;
JSON
{
  "hex": "#12184d",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 233.898,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24335,
    "c": 0.09686,
    "h": 272
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#12184D
secondary
#867E35
accent
#D543E5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12184D

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

Preview Lab → · Contrast checker → · Palette generator →

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