#121545#121545

#121545 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.089 H 274.2°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#121545
RGBrgb(18, 21, 69)
HSLhsl(236, 59%, 17%)
HSVhsv(236, 74%, 27%)
CMYKcmyk(73.9%, 69.6%, 0%, 72.9%)
CIE-LABlab(9.76, 16.90, -30.66)
CIE-LCHlch(9.76, 35.01, 298.87°)
OKLaboklab(22.88% 0.0066 -0.0884)
OKLCHoklch(22.88% 0.089 274.2)
XYZxyz(1.5914, 1.0945, 5.7565)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121545 #454212
analogous
#122F45 #121545 #291245
triadic
#121545 #451215 #154512
tetradic
#121545 #45122F #454212 #124529
square
#121545 #45122F #454212 #124529
split-complementary
#121545 #452912 #2F4512
monochromatic
#060718 #060718 #121545 #1F2476 #2B33A6

Accessibility & contrast

On white

17.23
#121545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121545
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121545#FFFFFF#000000##FFFFFF
##1215451.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121545;
/* rgb */ color: rgb(18, 21, 69);
/* oklch */ color: oklch(22.9% 0.089 274.2);
Tailwind
colors: {
  custom: {
    50: '#585279',
    500: '#121545',
    950: '#000000',
  },
}
SCSS
$custom: #121545;
$custom-light: #585279;
$custom-dark: #000000;
JSON
{
  "hex": "#121545",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 236.471,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22883,
    "c": 0.08862,
    "h": 274.2
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#121545
secondary
#7E7A35
accent
#D946E2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #121545

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

Preview Lab → · Contrast checker → · Palette generator →

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