#121335#121335

#121335 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.065 H 277.9°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#121335
RGBrgb(18, 19, 53)
HSLhsl(238, 49%, 14%)
HSVhsv(238, 66%, 21%)
CMYKcmyk(66%, 64.2%, 0%, 79.2%)
CIE-LABlab(7.69, 11.83, -22.58)
CIE-LCHlch(7.69, 25.49, 297.65°)
OKLaboklab(20.89% 0.0089 -0.0647)
OKLCHoklch(20.89% 0.065 277.9)
XYZxyz(1.1247, 0.8513, 3.4725)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121335 #353412
analogous
#122535 #121335 #231235
triadic
#121335 #351213 #133512
tetradic
#121335 #351225 #353412 #123523
square
#121335 #351225 #353412 #123523
split-complementary
#121335 #352312 #253512
monochromatic
#080817 #080817 #121335 #222363 #313490

Accessibility & contrast

On white

17.95
#121335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#121335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121335
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121335#FFFFFF#000000##FFFFFF
##1213351.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021836
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#021B21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #121335;
/* rgb */ color: rgb(18, 19, 53);
/* oklch */ color: oklch(20.9% 0.065 277.9);
Tailwind
colors: {
  custom: {
    50: '#54506c',
    500: '#121335',
    950: '#000000',
  },
}
SCSS
$custom: #121335;
$custom-light: #54506c;
$custom-dark: #000000;
JSON
{
  "hex": "#121335",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 238.286,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20889,
    "c": 0.06528,
    "h": 277.9
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#121335
secondary
#6D6C35
accent
#D54FD9
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030207
muted
#78787A

Preview Lab

Preview with #121335

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

Preview Lab → · Contrast checker → · Palette generator →

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