#121859#121859

#121859 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.115 H 271.2°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#121859
RGBrgb(18, 24, 89)
HSLhsl(235, 66%, 21%)
HSVhsv(235, 80%, 35%)
CMYKcmyk(79.8%, 73%, 0%, 65.1%)
CIE-LABlab(12.63, 22.86, -39.70)
CIE-LCHlch(12.63, 45.81, 299.93°)
OKLaboklab(25.61% 0.0024 -0.1148)
OKLCHoklch(25.61% 0.115 271.2)
XYZxyz(2.3786, 1.5029, 9.6140)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121859 #595312
analogous
#123B59 #121859 #2F1259
triadic
#121859 #591218 #185912
tetradic
#121859 #59123B #595312 #12592F
square
#121859 #59123B #595312 #12592F
split-complementary
#121859 #592F12 #3B5912
monochromatic
#050719 #080A26 #121859 #1C268C #2733BF

Accessibility & contrast

On white

16.15
#121859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121859
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121859#FFFFFF#000000##FFFFFF
##1218591.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121859;
/* rgb */ color: rgb(18, 24, 89);
/* oklch */ color: oklch(25.6% 0.115 271.2);
Tailwind
colors: {
  custom: {
    50: '#5d5589',
    500: '#121859',
    950: '#000000',
  },
}
SCSS
$custom: #121859;
$custom-light: #5d5589;
$custom-dark: #000000;
JSON
{
  "hex": "#121859",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 234.93,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2561,
    "c": 0.11488,
    "h": 271.2
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#121859
secondary
#928A35
accent
#DB3FE9
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #121859

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

Preview Lab → · Contrast checker → · Palette generator →

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