#121453#121453

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

Color values

HEX#121453
RGBrgb(18, 20, 83)
HSLhsl(238, 64%, 20%)
HSVhsv(238, 78%, 33%)
CMYKcmyk(78.3%, 75.9%, 0%, 67.5%)
CIE-LABlab(10.94, 23.28, -38.40)
CIE-LCHlch(10.94, 44.90, 301.22°)
OKLaboklab(24.2% 0.0059 -0.111)
OKLCHoklch(24.2% 0.111 273)
XYZxyz(2.0604, 1.2532, 8.3152)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121453 #535112
analogous
#123553 #121453 #311253
triadic
#121453 #531214 #145312
tetradic
#121453 #531235 #535112 #125331
square
#121453 #531235 #535112 #125331
split-complementary
#121453 #533112 #355312
monochromatic
#050619 #070821 #121453 #1D2085 #282CB8

Accessibility & contrast

On white

16.79
#121453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121453
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121453#FFFFFF#000000##FFFFFF
##1214531.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.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: #121453;
/* rgb */ color: rgb(18, 20, 83);
/* oklch */ color: oklch(24.2% 0.111 273.0);
Tailwind
colors: {
  custom: {
    50: '#5c5284',
    500: '#121453',
    950: '#000000',
  },
}
SCSS
$custom: #121453;
$custom-light: #5c5284;
$custom-dark: #000000;
JSON
{
  "hex": "#121453",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 238.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24196,
    "c": 0.1112,
    "h": 273
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#121453
secondary
#8C8935
accent
#E240E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121453

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

Preview Lab → · Contrast checker → · Palette generator →

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