#121045#121045

#121045 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.096 H 276.7°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#121045
RGBrgb(18, 16, 69)
HSLhsl(242, 62%, 17%)
HSVhsv(242, 77%, 27%)
CMYKcmyk(73.9%, 76.8%, 0%, 72.9%)
CIE-LABlab(8.38, 20.56, -32.90)
CIE-LCHlch(8.38, 38.80, 302.00°)
OKLaboklab(21.89% 0.0111 -0.095)
OKLCHoklch(21.89% 0.096 276.7)
XYZxyz(1.5086, 0.9287, 5.7288)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121045 #434510
analogous
#102945 #121045 #2D1045
triadic
#121045 #451210 #104512
tetradic
#121045 #451029 #434510 #10452D
square
#121045 #451029 #434510 #10452D
split-complementary
#121045 #452D10 #294510
monochromatic
#060619 #060619 #121045 #1F1C77 #2C27A8

Accessibility & contrast

On white

17.71
#121045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#121045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121045
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121045#FFFFFF#000000##FFFFFF
##1210451.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001644
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #121045;
/* rgb */ color: rgb(18, 16, 69);
/* oklch */ color: oklch(21.9% 0.096 276.7);
Tailwind
colors: {
  custom: {
    50: '#584e79',
    500: '#121045',
    950: '#000000',
  },
}
SCSS
$custom: #121045;
$custom-light: #584e79;
$custom-dark: #000000;
JSON
{
  "hex": "#121045",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 242.264,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21885,
    "c": 0.09563,
    "h": 276.7
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#121045
secondary
#7C7F32
accent
#E542DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #121045

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

Preview Lab → · Contrast checker → · Palette generator →

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