#121544#121544

#121544 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.087 H 274.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#121544
RGBrgb(18, 21, 68)
HSLhsl(236, 58%, 17%)
HSVhsv(236, 74%, 27%)
CMYKcmyk(73.5%, 69.1%, 0%, 73.3%)
CIE-LABlab(9.66, 16.49, -30.12)
CIE-LCHlch(9.66, 34.34, 298.71°)
OKLaboklab(22.78% 0.0066 -0.0868)
OKLCHoklch(22.78% 0.087 274.4)
XYZxyz(1.5607, 1.0821, 5.5944)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121544 #444112
analogous
#122E44 #121544 #281244
triadic
#121544 #441215 #154412
tetradic
#121544 #44122E #444112 #124428
square
#121544 #44122E #444112 #124428
split-complementary
#121544 #442812 #2E4412
monochromatic
#060718 #060718 #121544 #1F2474 #2C33A5

Accessibility & contrast

On white

17.26
#121544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#121544 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121544
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121544#FFFFFF#000000##FFFFFF
##1215441.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001943
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #121544;
/* rgb */ color: rgb(18, 21, 68);
/* oklch */ color: oklch(22.8% 0.087 274.4);
Tailwind
colors: {
  custom: {
    50: '#575278',
    500: '#121544',
    950: '#000000',
  },
}
SCSS
$custom: #121544;
$custom-light: #575278;
$custom-dark: #000000;
JSON
{
  "hex": "#121544",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 236.4,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22782,
    "c": 0.08703,
    "h": 274.4
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#121544
secondary
#7D7935
accent
#D846E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #121544

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

Preview Lab → · Contrast checker → · Palette generator →

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