#12184F#12184F

#12184F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.100 H 271.9°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#12184F
RGBrgb(18, 24, 79)
HSLhsl(234, 63%, 19%)
HSVhsv(234, 77%, 31%)
CMYKcmyk(77.2%, 69.6%, 0%, 69%)
CIE-LABlab(11.59, 18.79, -34.59)
CIE-LCHlch(11.59, 39.37, 298.51°)
OKLaboklab(24.54% 0.0033 -0.0999)
OKLCHoklch(24.54% 0.1 271.9)
XYZxyz(1.9869, 1.3462, 7.5507)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12184F #4F4912
analogous
#12374F #12184F #2B124F
triadic
#12184F #4F1218 #184F12
tetradic
#12184F #4F1237 #4F4912 #124F2B
square
#12184F #4F1237 #4F4912 #124F2B
split-complementary
#12184F #4F2B12 #374F12
monochromatic
#060819 #07091D #12184F #1D2781 #2936B3

Accessibility & contrast

On white

16.55
#12184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#12184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12184F
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12184F#FFFFFF#000000##FFFFFF
##12184F1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#002630
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #12184f;
/* rgb */ color: rgb(18, 24, 79);
/* oklch */ color: oklch(24.5% 0.100 271.9);
Tailwind
colors: {
  custom: {
    50: '#5a5481',
    500: '#12184f',
    950: '#000000',
  },
}
SCSS
$custom: #12184f;
$custom-light: #5a5481;
$custom-dark: #000000;
JSON
{
  "hex": "#12184f",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 234.098,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24541,
    "c": 0.09994,
    "h": 271.9
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#12184F
secondary
#888035
accent
#D642E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12184F

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

Preview Lab → · Contrast checker → · Palette generator →

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