#121253#121253

#121253 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.114 H 273.6°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#121253
RGBrgb(18, 18, 83)
HSLhsl(240, 64%, 20%)
HSVhsv(240, 78%, 33%)
CMYKcmyk(78.3%, 78.3%, 0%, 67.5%)
CIE-LABlab(10.45, 24.64, -39.21)
CIE-LCHlch(10.45, 46.31, 302.14°)
OKLaboklab(23.84% 0.0072 -0.1134)
OKLCHoklch(23.84% 0.114 273.6)
XYZxyz(2.0266, 1.1855, 8.3040)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121253 #535312
analogous
#123353 #121253 #331253
triadic
#121253 #531212 #125312
tetradic
#121253 #531233 #535312 #125333
square
#121253 #531233 #535312 #125333
split-complementary
#121253 #533312 #335312
monochromatic
#050519 #070721 #121253 #1D1D85 #2828B8

Accessibility & contrast

On white

16.97
#121253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121253
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121253#FFFFFF#000000##FFFFFF
##1212531.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121253;
/* rgb */ color: rgb(18, 18, 83);
/* oklch */ color: oklch(23.8% 0.114 273.6);
Tailwind
colors: {
  custom: {
    50: '#5c5084',
    500: '#121253',
    950: '#000000',
  },
}
SCSS
$custom: #121253;
$custom-light: #5c5084;
$custom-dark: #000000;
JSON
{
  "hex": "#121253",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 240,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23842,
    "c": 0.11364,
    "h": 273.6
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#121253
secondary
#8C8C35
accent
#E740E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121253

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

Preview Lab → · Contrast checker → · Palette generator →

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