#121353#121353

#121353 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.112 H 273.3°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#121353
RGBrgb(18, 19, 83)
HSLhsl(239, 64%, 20%)
HSVhsv(239, 78%, 33%)
CMYKcmyk(78.3%, 77.1%, 0%, 67.5%)
CIE-LABlab(10.69, 23.96, -38.81)
CIE-LCHlch(10.69, 45.61, 301.69°)
OKLaboklab(24.02% 0.0065 -0.1122)
OKLCHoklch(24.02% 0.112 273.3)
XYZxyz(2.0431, 1.2187, 8.3095)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121353 #535212
analogous
#123453 #121353 #321253
triadic
#121353 #531213 #135312
tetradic
#121353 #531234 #535212 #125332
square
#121353 #531234 #535212 #125332
split-complementary
#121353 #533212 #345312
monochromatic
#050619 #070721 #121353 #1D1F85 #282AB8

Accessibility & contrast

On white

16.88
#121353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121353
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121353#FFFFFF#000000##FFFFFF
##1213531.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001A52
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121353;
/* rgb */ color: rgb(18, 19, 83);
/* oklch */ color: oklch(24.0% 0.112 273.3);
Tailwind
colors: {
  custom: {
    50: '#5c5184',
    500: '#121353',
    950: '#000000',
  },
}
SCSS
$custom: #121353;
$custom-light: #5c5184;
$custom-dark: #000000;
JSON
{
  "hex": "#121353",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 239.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24017,
    "c": 0.11243,
    "h": 273.3
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#121353
secondary
#8C8A35
accent
#E540E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121353

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

Preview Lab → · Contrast checker → · Palette generator →

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