#12184C#12184C

#12184C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.095 H 272.1°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#12184C
RGBrgb(18, 24, 76)
HSLhsl(234, 62%, 18%)
HSVhsv(234, 76%, 30%)
CMYKcmyk(76.3%, 68.4%, 0%, 70.2%)
CIE-LABlab(11.30, 17.55, -33.01)
CIE-LCHlch(11.30, 37.38, 298.00°)
OKLaboklab(24.23% 0.0035 -0.0952)
OKLCHoklch(24.23% 0.095 272.1)
XYZxyz(1.8802, 1.3035, 6.9886)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12184C #4C4612
analogous
#12354C #12184C #29124C
triadic
#12184C #4C1218 #184C12
tetradic
#12184C #4C1235 #4C4612 #124C29
square
#12184C #4C1235 #4C4612 #124C29
split-complementary
#12184C #4C2912 #354C12
monochromatic
#060819 #06081B #12184C #1E287D #2937AF

Accessibility & contrast

On white

16.66
#12184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12184C
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12184C#FFFFFF#000000##FFFFFF
##12184C1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12184c;
/* rgb */ color: rgb(18, 24, 76);
/* oklch */ color: oklch(24.2% 0.095 272.1);
Tailwind
colors: {
  custom: {
    50: '#59547f',
    500: '#12184c',
    950: '#000000',
  },
}
SCSS
$custom: #12184c;
$custom-light: #59547f;
$custom-dark: #000000;
JSON
{
  "hex": "#12184c",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 233.793,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24233,
    "c": 0.0953,
    "h": 272.1
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#12184C
secondary
#857D35
accent
#D443E5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12184C

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

Preview Lab → · Contrast checker → · Palette generator →

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