#12184B#12184B

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

Color values

HEX#12184B
RGBrgb(18, 24, 75)
HSLhsl(234, 61%, 18%)
HSVhsv(234, 76%, 29%)
CMYKcmyk(76%, 68%, 0%, 70.6%)
CIE-LABlab(11.20, 17.14, -32.47)
CIE-LCHlch(11.20, 36.72, 297.82°)
OKLaboklab(24.13% 0.0035 -0.0937)
OKLCHoklch(24.13% 0.094 272.1)
XYZxyz(1.8457, 1.2897, 6.8069)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12184B #4B4512
analogous
#12344B #12184B #28124B
triadic
#12184B #4B1218 #184B12
tetradic
#12184B #4B1234 #4B4512 #124B28
square
#12184B #4B1234 #4B4512 #124B28
split-complementary
#12184B #4B2812 #344B12
monochromatic
#060819 #06081A #12184B #1E287C #2A38AE

Accessibility & contrast

On white

16.69
#12184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12184B
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12184B#FFFFFF#000000##FFFFFF
##12184B1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12184b;
/* rgb */ color: rgb(18, 24, 75);
/* oklch */ color: oklch(24.1% 0.094 272.1);
Tailwind
colors: {
  custom: {
    50: '#59547e',
    500: '#12184b',
    950: '#000000',
  },
}
SCSS
$custom: #12184b;
$custom-light: #59547e;
$custom-dark: #000000;
JSON
{
  "hex": "#12184b",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 233.684,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24131,
    "c": 0.09374,
    "h": 272.1
  },
  "luminance": 0.0129
}

Semantic roles & 50–950 ramp

primary
#12184B
secondary
#847C35
accent
#D343E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12184B

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

Preview Lab → · Contrast checker → · Palette generator →

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