#121455#121455

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

Color values

HEX#121455
RGBrgb(18, 20, 85)
HSLhsl(238, 65%, 20%)
HSVhsv(238, 79%, 33%)
CMYKcmyk(78.8%, 76.5%, 0%, 66.7%)
CIE-LABlab(11.17, 24.06, -39.39)
CIE-LCHlch(11.17, 46.16, 301.41°)
OKLaboklab(24.42% 0.0056 -0.1139)
OKLCHoklch(24.42% 0.114 272.8)
XYZxyz(2.1388, 1.2846, 8.7278)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121455 #555312
analogous
#123555 #121455 #311255
triadic
#121455 #551214 #145512
tetradic
#121455 #551235 #555312 #125531
square
#121455 #551235 #555312 #125531
split-complementary
#121455 #553112 #355512
monochromatic
#050619 #070822 #121455 #1D2088 #272CBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121455#FFFFFF#000000##FFFFFF
##1214551.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)
#002157
Deuteranopia (green-blind)
#001B54
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121455;
/* rgb */ color: rgb(18, 20, 85);
/* oklch */ color: oklch(24.4% 0.114 272.8);
Tailwind
colors: {
  custom: {
    50: '#5c5286',
    500: '#121455',
    950: '#000000',
  },
}
SCSS
$custom: #121455;
$custom-light: #5c5286;
$custom-dark: #000000;
JSON
{
  "hex": "#121455",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 238.209,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24424,
    "c": 0.11409,
    "h": 272.8
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#121455
secondary
#8E8B35
accent
#E340E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121455

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

Preview Lab → · Contrast checker → · Palette generator →

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