#121553#121553

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

Color values

HEX#121553
RGBrgb(18, 21, 83)
HSLhsl(237, 64%, 20%)
HSVhsv(237, 78%, 33%)
CMYKcmyk(78.3%, 74.7%, 0%, 67.5%)
CIE-LABlab(11.20, 22.58, -37.98)
CIE-LCHlch(11.20, 44.18, 300.73°)
OKLaboklab(24.38% 0.0052 -0.1098)
OKLCHoklch(24.38% 0.11 272.7)
XYZxyz(2.0784, 1.2893, 8.3213)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121553 #535012
analogous
#123553 #121553 #301253
triadic
#121553 #531215 #155312
tetradic
#121553 #531235 #535012 #125330
square
#121553 #531235 #535012 #125330
split-complementary
#121553 #533012 #355312
monochromatic
#050619 #070821 #121553 #1D2285 #282EB8

Accessibility & contrast

On white

16.70
#121553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121553
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121553#FFFFFF#000000##FFFFFF
##1215531.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001B52
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121553;
/* rgb */ color: rgb(18, 21, 83);
/* oklch */ color: oklch(24.4% 0.110 272.7);
Tailwind
colors: {
  custom: {
    50: '#5c5284',
    500: '#121553',
    950: '#000000',
  },
}
SCSS
$custom: #121553;
$custom-light: #5c5284;
$custom-dark: #000000;
JSON
{
  "hex": "#121553",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 237.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24381,
    "c": 0.10993,
    "h": 272.7
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#121553
secondary
#8C8835
accent
#E040E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #121553

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

Preview Lab → · Contrast checker → · Palette generator →

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