#121645#121645

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

Color values

HEX#121645
RGBrgb(18, 22, 69)
HSLhsl(235, 59%, 17%)
HSVhsv(235, 74%, 27%)
CMYKcmyk(73.9%, 68.1%, 0%, 72.9%)
CIE-LABlab(10.05, 16.15, -30.19)
CIE-LCHlch(10.05, 34.23, 298.15°)
OKLaboklab(23.1% 0.0056 -0.087)
OKLCHoklch(23.1% 0.087 273.7)
XYZxyz(1.6102, 1.1319, 5.7627)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121645 #454112
analogous
#123045 #121645 #281245
triadic
#121645 #451216 #164512
tetradic
#121645 #451230 #454112 #124528
square
#121645 #451230 #454112 #124528
split-complementary
#121645 #452812 #304512
monochromatic
#060818 #060818 #121645 #1F2576 #2B35A6

Accessibility & contrast

On white

17.12
#121645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121645
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121645#FFFFFF#000000##FFFFFF
##1216451.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121645;
/* rgb */ color: rgb(18, 22, 69);
/* oklch */ color: oklch(23.1% 0.087 273.7);
Tailwind
colors: {
  custom: {
    50: '#585379',
    500: '#121645',
    950: '#000000',
  },
}
SCSS
$custom: #121645;
$custom-light: #585379;
$custom-dark: #000000;
JSON
{
  "hex": "#121645",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 235.294,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23098,
    "c": 0.08716,
    "h": 273.7
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#121645
secondary
#7E7835
accent
#D646E2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #121645

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

Preview Lab → · Contrast checker → · Palette generator →

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