#121153#121153

#121153 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.115 H 273.9°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#121153
RGBrgb(18, 17, 83)
HSLhsl(241, 66%, 20%)
HSVhsv(241, 80%, 33%)
CMYKcmyk(78.3%, 79.5%, 0%, 67.5%)
CIE-LABlab(10.21, 25.30, -39.60)
CIE-LCHlch(10.21, 47.00, 302.57°)
OKLaboklab(23.67% 0.0078 -0.1145)
OKLCHoklch(23.67% 0.115 273.9)
XYZxyz(2.0107, 1.1538, 8.2987)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121153 #525311
analogous
#113153 #121153 #331153
triadic
#121153 #531211 #115312
tetradic
#121153 #531131 #525311 #115333
square
#121153 #531131 #525311 #115333
split-complementary
#121153 #533311 #315311
monochromatic
#060519 #070720 #121153 #1D1B86 #2826B9

Accessibility & contrast

On white

17.06
#121153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121153
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121153#FFFFFF#000000##FFFFFF
##1211531.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.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: #121153;
/* rgb */ color: rgb(18, 17, 83);
/* oklch */ color: oklch(23.7% 0.115 273.9);
Tailwind
colors: {
  custom: {
    50: '#5c5084',
    500: '#121153',
    950: '#000000',
  },
}
SCSS
$custom: #121153;
$custom-light: #5c5084;
$custom-dark: #000000;
JSON
{
  "hex": "#121153",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 240.909,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23672,
    "c": 0.11481,
    "h": 273.9
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#121153
secondary
#8B8C34
accent
#E93FE6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121153

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

Preview Lab → · Contrast checker → · Palette generator →

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