#121357#121357

#121357 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.118 H 272.8°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#121357
RGBrgb(18, 19, 87)
HSLhsl(239, 66%, 21%)
HSVhsv(239, 79%, 34%)
CMYKcmyk(79.3%, 78.2%, 0%, 65.9%)
CIE-LABlab(11.15, 25.51, -40.78)
CIE-LCHlch(11.15, 48.10, 302.03°)
OKLaboklab(24.48% 0.0058 -0.118)
OKLCHoklch(24.48% 0.118 272.8)
XYZxyz(2.2020, 1.2822, 9.1464)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121357 #575612
analogous
#123557 #121357 #331257
triadic
#121357 #571213 #135712
tetradic
#121357 #571235 #575612 #125733
square
#121357 #571235 #575612 #125733
split-complementary
#121357 #573312 #355712
monochromatic
#050619 #080824 #121357 #1C1E8A #2729BC

Accessibility & contrast

On white

16.71
#121357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121357
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121357#FFFFFF#000000##FFFFFF
##1213571.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121357;
/* rgb */ color: rgb(18, 19, 87);
/* oklch */ color: oklch(24.5% 0.118 272.8);
Tailwind
colors: {
  custom: {
    50: '#5d5187',
    500: '#121357',
    950: '#000000',
  },
}
SCSS
$custom: #121357;
$custom-light: #5d5187;
$custom-dark: #000000;
JSON
{
  "hex": "#121357",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 239.13,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2448,
    "c": 0.11813,
    "h": 272.8
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#121357
secondary
#908E35
accent
#E63FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #121357

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

Preview Lab → · Contrast checker → · Palette generator →

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