#121759#121759

#121759 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.116 H 271.5°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#121759
RGBrgb(18, 23, 89)
HSLhsl(236, 66%, 21%)
HSVhsv(236, 80%, 35%)
CMYKcmyk(79.8%, 74.2%, 0%, 65.1%)
CIE-LABlab(12.37, 23.56, -40.13)
CIE-LCHlch(12.37, 46.54, 300.42°)
OKLaboklab(25.42% 0.0031 -0.1161)
OKLCHoklch(25.42% 0.116 271.5)
XYZxyz(2.3584, 1.4624, 9.6072)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121759 #595412
analogous
#123A59 #121759 #301259
triadic
#121759 #591217 #175912
tetradic
#121759 #59123A #595412 #125930
square
#121759 #59123A #595412 #125930
split-complementary
#121759 #593012 #3A5912
monochromatic
#050719 #080A26 #121759 #1C248C #2731BF

Accessibility & contrast

On white

16.25
#121759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121759
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121759#FFFFFF#000000##FFFFFF
##1217591.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#001D58
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121759;
/* rgb */ color: rgb(18, 23, 89);
/* oklch */ color: oklch(25.4% 0.116 271.5);
Tailwind
colors: {
  custom: {
    50: '#5d5489',
    500: '#121759',
    950: '#000000',
  },
}
SCSS
$custom: #121759;
$custom-light: #5d5489;
$custom-dark: #000000;
JSON
{
  "hex": "#121759",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 235.775,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25422,
    "c": 0.11614,
    "h": 271.5
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#121759
secondary
#928B35
accent
#DD3FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121759

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

Preview Lab → · Contrast checker → · Palette generator →

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