#121944#121944

#121944 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.081 H 271.8°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#121944
RGBrgb(18, 25, 68)
HSLhsl(232, 58%, 17%)
HSVhsv(232, 74%, 27%)
CMYKcmyk(73.5%, 63.2%, 0%, 73.3%)
CIE-LABlab(10.86, 13.44, -28.16)
CIE-LCHlch(10.86, 31.21, 295.51°)
OKLaboklab(23.67% 0.0025 -0.081)
OKLCHoklch(23.67% 0.081 271.8)
XYZxyz(1.6401, 1.2411, 5.6208)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121944 #443D12
analogous
#123244 #121944 #241244
triadic
#121944 #441219 #194412
tetradic
#121944 #441232 #443D12 #124424
square
#121944 #441232 #443D12 #124424
split-complementary
#121944 #442412 #324412
monochromatic
#060918 #060918 #121944 #1F2B74 #2C3DA5

Accessibility & contrast

On white

16.82
#121944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121944
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121944#FFFFFF#000000##FFFFFF
##1219441.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121944;
/* rgb */ color: rgb(18, 25, 68);
/* oklch */ color: oklch(23.7% 0.081 271.8);
Tailwind
colors: {
  custom: {
    50: '#575578',
    500: '#121944',
    950: '#000000',
  },
}
SCSS
$custom: #121944;
$custom-light: #575578;
$custom-dark: #000000;
JSON
{
  "hex": "#121944",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 68
  },
  "hsl": {
    "h": 231.6,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23672,
    "c": 0.08104,
    "h": 271.8
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#121944
secondary
#7D7335
accent
#CC46E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121944

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

Preview Lab → · Contrast checker → · Palette generator →

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