#121027#121027

#121027 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 19.0% C 0.046 H 285.1°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#121027
RGBrgb(18, 16, 39)
HSLhsl(245, 42%, 11%)
HSVhsv(245, 59%, 15%)
CMYKcmyk(53.8%, 59%, 0%, 84.7%)
CIE-LABlab(5.83, 7.67, -15.14)
CIE-LCHlch(5.83, 16.97, 296.86°)
OKLaboklab(18.96% 0.0119 -0.044)
OKLCHoklch(18.96% 0.046 285.1)
XYZxyz(0.8008, 0.6456, 2.0015)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121027 #252710
analogous
#101927 #121027 #1D1027
triadic
#121027 #271210 #102712
tetradic
#121027 #271019 #252710 #10271D
square
#121027 #271019 #252710 #10271D
split-complementary
#121027 #271D10 #192710
monochromatic
#0A0916 #0A0916 #121027 #262252 #3A347E

Accessibility & contrast

On white

18.60
#121027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#121027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121027
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121027#FFFFFF#000000##FFFFFF
##1210271.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071428
Deuteranopia (green-blind)
#071226
Tritanopia (blue-blind)
#0C1519
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #121027;
/* rgb */ color: rgb(18, 16, 39);
/* oklch */ color: oklch(19.0% 0.046 285.1);
Tailwind
colors: {
  custom: {
    50: '#514e61',
    500: '#121027',
    950: '#000000',
  },
}
SCSS
$custom: #121027;
$custom-light: #514e61;
$custom-dark: #000000;
JSON
{
  "hex": "#121027",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 245.217,
    "s": 41.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18963,
    "c": 0.04558,
    "h": 285.1
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#121027
secondary
#5B5F34
accent
#D256C7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020105
muted
#787779

Preview Lab

Preview with #121027

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

Preview Lab → · Contrast checker → · Palette generator →

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