#121155#121155

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

Color values

HEX#121155
RGBrgb(18, 17, 85)
HSLhsl(241, 67%, 20%)
HSVhsv(241, 80%, 33%)
CMYKcmyk(78.8%, 80%, 0%, 66.7%)
CIE-LABlab(10.45, 26.06, -40.58)
CIE-LCHlch(10.45, 48.23, 302.71°)
OKLaboklab(23.91% 0.0074 -0.1174)
OKLCHoklch(23.91% 0.118 273.6)
XYZxyz(2.0890, 1.1852, 8.7112)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121155 #545511
analogous
#113255 #121155 #341155
triadic
#121155 #551211 #115512
tetradic
#121155 #551132 #545511 #115534
square
#121155 #551132 #545511 #115534
split-complementary
#121155 #553411 #325511
monochromatic
#05051A #070722 #121155 #1D1B88 #2825BB

Accessibility & contrast

On white

16.98
#121155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121155
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121155#FFFFFF#000000##FFFFFF
##1211551.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121155;
/* rgb */ color: rgb(18, 17, 85);
/* oklch */ color: oklch(23.9% 0.118 273.6);
Tailwind
colors: {
  custom: {
    50: '#5d5086',
    500: '#121155',
    950: '#000000',
  },
}
SCSS
$custom: #121155;
$custom-light: #5d5086;
$custom-dark: #000000;
JSON
{
  "hex": "#121155",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 240.882,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.2391,
    "c": 0.11762,
    "h": 273.6
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#121155
secondary
#8D8E34
accent
#EA3EE7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #121155

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

Preview Lab → · Contrast checker → · Palette generator →

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