#121959#121959

#121959 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.114 H 270.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#121959
RGBrgb(18, 25, 89)
HSLhsl(234, 66%, 21%)
HSVhsv(234, 80%, 35%)
CMYKcmyk(79.8%, 71.9%, 0%, 65.1%)
CIE-LABlab(12.89, 22.15, -39.27)
CIE-LCHlch(12.89, 45.09, 299.43°)
OKLaboklab(25.8% 0.0018 -0.1136)
OKLCHoklch(25.8% 0.114 270.9)
XYZxyz(2.3996, 1.5449, 9.6210)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121959 #595212
analogous
#123C59 #121959 #2E1259
triadic
#121959 #591219 #195912
tetradic
#121959 #59123C #595212 #12592E
square
#121959 #59123C #595212 #12592E
split-complementary
#121959 #592E12 #3C5912
monochromatic
#050719 #080B26 #121959 #1C278C #2736BF

Accessibility & contrast

On white

16.04
#121959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121959
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121959#FFFFFF#000000##FFFFFF
##1219591.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121959;
/* rgb */ color: rgb(18, 25, 89);
/* oklch */ color: oklch(25.8% 0.114 270.9);
Tailwind
colors: {
  custom: {
    50: '#5d5589',
    500: '#121959',
    950: '#000000',
  },
}
SCSS
$custom: #121959;
$custom-light: #5d5589;
$custom-dark: #000000;
JSON
{
  "hex": "#121959",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 234.085,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25802,
    "c": 0.11359,
    "h": 270.9
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#121959
secondary
#928835
accent
#D83FE9
background
#F5F5F8
surface
#E9E8F0
border
#C5C4CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #121959

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

Preview Lab → · Contrast checker → · Palette generator →

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