#121844#121844

#121844 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.083 H 272.5°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#121844
RGBrgb(18, 24, 68)
HSLhsl(233, 58%, 17%)
HSVhsv(233, 74%, 27%)
CMYKcmyk(73.5%, 64.7%, 0%, 73.3%)
CIE-LABlab(10.55, 14.21, -28.66)
CIE-LCHlch(10.55, 31.99, 296.37°)
OKLaboklab(23.44% 0.0036 -0.0825)
OKLCHoklch(23.44% 0.083 272.5)
XYZxyz(1.6191, 1.1991, 5.6138)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121844 #443E12
analogous
#123144 #121844 #251244
triadic
#121844 #441218 #184412
tetradic
#121844 #441231 #443E12 #124425
square
#121844 #441231 #443E12 #124425
split-complementary
#121844 #442512 #314412
monochromatic
#060918 #060918 #121844 #1F2974 #2C3AA5

Accessibility & contrast

On white

16.94
#121844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121844
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121844#FFFFFF#000000##FFFFFF
##1218441.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121844;
/* rgb */ color: rgb(18, 24, 68);
/* oklch */ color: oklch(23.4% 0.083 272.5);
Tailwind
colors: {
  custom: {
    50: '#575478',
    500: '#121844',
    950: '#000000',
  },
}
SCSS
$custom: #121844;
$custom-light: #575478;
$custom-dark: #000000;
JSON
{
  "hex": "#121844",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 232.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23443,
    "c": 0.08256,
    "h": 272.5
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#121844
secondary
#7D7435
accent
#CF46E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #121844

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

Preview Lab → · Contrast checker → · Palette generator →

#121844 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva