#121055#121055

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

Color values

HEX#121055
RGBrgb(18, 16, 85)
HSLhsl(242, 68%, 20%)
HSVhsv(242, 81%, 33%)
CMYKcmyk(78.8%, 81.2%, 0%, 66.7%)
CIE-LABlab(10.22, 26.70, -40.96)
CIE-LCHlch(10.22, 48.89, 303.10°)
OKLaboklab(23.75% 0.0079 -0.1185)
OKLCHoklch(23.75% 0.119 273.8)
XYZxyz(2.0739, 1.1548, 8.7062)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121055 #535510
analogous
#103155 #121055 #351055
triadic
#121055 #551210 #105512
tetradic
#121055 #551031 #535510 #105535
square
#121055 #551031 #535510 #105535
split-complementary
#121055 #553510 #315510
monochromatic
#05051A #070621 #121055 #1D1A89 #2823BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##121055#FFFFFF#000000##FFFFFF
##1210551.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)
#001F57
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121055;
/* rgb */ color: rgb(18, 16, 85);
/* oklch */ color: oklch(23.7% 0.119 273.8);
Tailwind
colors: {
  custom: {
    50: '#5d4f86',
    500: '#121055',
    950: '#000000',
  },
}
SCSS
$custom: #121055;
$custom-light: #5d4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#121055",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 241.739,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23748,
    "c": 0.11874,
    "h": 273.8
  },
  "luminance": 0.01155
}

Semantic roles & 50–950 ramp

primary
#121055
secondary
#8C8F32
accent
#EB3DE6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121055

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

Preview Lab → · Contrast checker → · Palette generator →

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