#121358#121358

#121358 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.6% C 0.120 H 272.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#121358
RGBrgb(18, 19, 88)
HSLhsl(239, 66%, 21%)
HSVhsv(239, 80%, 35%)
CMYKcmyk(79.5%, 78.4%, 0%, 65.5%)
CIE-LABlab(11.27, 25.89, -41.27)
CIE-LCHlch(11.27, 48.72, 302.11°)
OKLaboklab(24.6% 0.0056 -0.1194)
OKLCHoklch(24.6% 0.12 272.7)
XYZxyz(2.2432, 1.2987, 9.3631)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121358 #585712
analogous
#123658 #121358 #341258
triadic
#121358 #581213 #135812
tetradic
#121358 #581236 #585712 #125834
square
#121358 #581236 #585712 #125834
split-complementary
#121358 #583412 #365812
monochromatic
#050519 #080825 #121358 #1C1E8B #2729BE

Accessibility & contrast

On white

16.67
#121358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121358
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121358#FFFFFF#000000##FFFFFF
##1213581.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121358;
/* rgb */ color: rgb(18, 19, 88);
/* oklch */ color: oklch(24.6% 0.120 272.7);
Tailwind
colors: {
  custom: {
    50: '#5d5188',
    500: '#121358',
    950: '#000000',
  },
}
SCSS
$custom: #121358;
$custom-light: #5d5188;
$custom-dark: #000000;
JSON
{
  "hex": "#121358",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 239.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24598,
    "c": 0.11953,
    "h": 272.7
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#121358
secondary
#918F35
accent
#E73FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121358

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

Preview Lab → · Contrast checker → · Palette generator →

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