#121744#121744

#121744 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.084 H 273.1°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#121744
RGBrgb(18, 23, 68)
HSLhsl(234, 58%, 17%)
HSVhsv(234, 74%, 27%)
CMYKcmyk(73.5%, 66.2%, 0%, 73.3%)
CIE-LABlab(10.25, 14.97, -29.15)
CIE-LCHlch(10.25, 32.77, 297.19°)
OKLaboklab(23.22% 0.0046 -0.0839)
OKLCHoklch(23.22% 0.084 273.1)
XYZxyz(1.5989, 1.1586, 5.6071)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121744 #443F12
analogous
#123044 #121744 #261244
triadic
#121744 #441217 #174412
tetradic
#121744 #441230 #443F12 #124426
square
#121744 #441230 #443F12 #124426
split-complementary
#121744 #442612 #304412
monochromatic
#060818 #060818 #121744 #1F2774 #2C38A5

Accessibility & contrast

On white

17.05
#121744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121744
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121744#FFFFFF#000000##FFFFFF
##1217441.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121744;
/* rgb */ color: rgb(18, 23, 68);
/* oklch */ color: oklch(23.2% 0.084 273.1);
Tailwind
colors: {
  custom: {
    50: '#575378',
    500: '#121744',
    950: '#000000',
  },
}
SCSS
$custom: #121744;
$custom-light: #575378;
$custom-dark: #000000;
JSON
{
  "hex": "#121744",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 68
  },
  "hsl": {
    "h": 234,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23219,
    "c": 0.08406,
    "h": 273.1
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#121744
secondary
#7D7635
accent
#D246E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #121744

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

Preview Lab → · Contrast checker → · Palette generator →

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