#121355#121355

#121355 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.115 H 273.1°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#121355
RGBrgb(18, 19, 85)
HSLhsl(239, 65%, 20%)
HSVhsv(239, 79%, 33%)
CMYKcmyk(78.8%, 77.6%, 0%, 66.7%)
CIE-LABlab(10.92, 24.74, -39.80)
CIE-LCHlch(10.92, 46.86, 301.87°)
OKLaboklab(24.25% 0.0062 -0.1151)
OKLCHoklch(24.25% 0.115 273.1)
XYZxyz(2.1215, 1.2500, 8.7220)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121355 #555412
analogous
#123555 #121355 #321255
triadic
#121355 #551213 #135512
tetradic
#121355 #551235 #555412 #125532
square
#121355 #551235 #555412 #125532
split-complementary
#121355 #553212 #355512
monochromatic
#050619 #070822 #121355 #1D1E88 #272ABA

Accessibility & contrast

On white

16.80
#121355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121355
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121355#FFFFFF#000000##FFFFFF
##1213551.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121355;
/* rgb */ color: rgb(18, 19, 85);
/* oklch */ color: oklch(24.2% 0.115 273.1);
Tailwind
colors: {
  custom: {
    50: '#5c5186',
    500: '#121355',
    950: '#000000',
  },
}
SCSS
$custom: #121355;
$custom-light: #5c5186;
$custom-dark: #000000;
JSON
{
  "hex": "#121355",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 239.104,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24248,
    "c": 0.1153,
    "h": 273.1
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#121355
secondary
#8E8C35
accent
#E640E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121355

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

Preview Lab → · Contrast checker → · Palette generator →

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