#121128#121128

#121128 is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.3% C 0.046 H 283.2°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#121128
RGBrgb(18, 17, 40)
HSLhsl(243, 40%, 11%)
HSVhsv(243, 58%, 16%)
CMYKcmyk(55%, 57.5%, 0%, 84.3%)
CIE-LABlab(6.17, 7.53, -15.37)
CIE-LCHlch(6.17, 17.12, 296.11°)
OKLaboklab(19.29% 0.0104 -0.0443)
OKLCHoklch(19.29% 0.046 283.2)
XYZxyz(0.8328, 0.6827, 2.0950)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121128 #272811
analogous
#111B28 #121128 #1D1128
triadic
#121128 #281211 #112812
tetradic
#121128 #28111B #272811 #11281D
square
#121128 #28111B #272811 #11281D
split-complementary
#121128 #281D11 #1B2811
monochromatic
#0A0915 #0A0915 #121128 #252353 #39367E

Accessibility & contrast

On white

18.48
#121128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#121128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121128
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121128#FFFFFF#000000##FFFFFF
##1211281.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081429
Deuteranopia (green-blind)
#071327
Tritanopia (blue-blind)
#0B161A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #121128;
/* rgb */ color: rgb(18, 17, 40);
/* oklch */ color: oklch(19.3% 0.046 283.2);
Tailwind
colors: {
  custom: {
    50: '#514f62',
    500: '#121128',
    950: '#000000',
  },
}
SCSS
$custom: #121128;
$custom-light: #514f62;
$custom-dark: #000000;
JSON
{
  "hex": "#121128",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 242.609,
    "s": 40.351,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19293,
    "c": 0.04552,
    "h": 283.2
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#121128
secondary
#5E5F35
accent
#D058CB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #121128

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

Preview Lab → · Contrast checker → · Palette generator →

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