#121B35#121B35

#121B35 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.9% C 0.052 H 267.8°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#121B35
RGBrgb(18, 27, 53)
HSLhsl(225, 49%, 14%)
HSVhsv(225, 66%, 21%)
CMYKcmyk(66%, 49.1%, 0%, 79.2%)
CIE-LABlab(10.33, 5.59, -18.35)
CIE-LCHlch(10.33, 19.18, 286.93°)
OKLaboklab(22.89% -0.002 -0.0521)
OKLCHoklch(22.89% 0.052 267.8)
XYZxyz(1.2838, 1.1694, 3.5255)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B35 #352C12
analogous
#122D35 #121B35 #1B1235
triadic
#121B35 #35121B #1B3512
tetradic
#121B35 #35122D #352C12 #12351B
square
#121B35 #35122D #352C12 #12351B
split-complementary
#121B35 #351B12 #2D3512
monochromatic
#080C17 #080C17 #121B35 #223263 #314A90

Accessibility & contrast

On white

17.02
#121B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121B35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B35
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B35#FFFFFF#000000##FFFFFF
##121B351.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101E36
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#012125
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121b35;
/* rgb */ color: rgb(18, 27, 53);
/* oklch */ color: oklch(22.9% 0.052 267.8);
Tailwind
colors: {
  custom: {
    50: '#53566c',
    500: '#121b35',
    950: '#000000',
  },
}
SCSS
$custom: #121b35;
$custom-light: #53566c;
$custom-dark: #000000;
JSON
{
  "hex": "#121b35",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 53
  },
  "hsl": {
    "h": 224.571,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22894,
    "c": 0.05216,
    "h": 267.8
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#121B35
secondary
#6D5F35
accent
#B54FD9
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #121B35

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

Preview Lab → · Contrast checker → · Palette generator →

#121B35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva