#121C35#121C35

#121C35 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.2% C 0.051 H 266.1°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#121C35
RGBrgb(18, 28, 53)
HSLhsl(223, 49%, 14%)
HSVhsv(223, 66%, 21%)
CMYKcmyk(66%, 47.2%, 0%, 79.2%)
CIE-LABlab(10.67, 4.81, -17.80)
CIE-LCHlch(10.67, 18.44, 285.13°)
OKLaboklab(23.16% -0.0034 -0.0505)
OKLCHoklch(23.16% 0.051 266.1)
XYZxyz(1.3071, 1.2160, 3.5333)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C35 #352B12
analogous
#122E35 #121C35 #1A1235
triadic
#121C35 #35121C #1C3512
tetradic
#121C35 #35122E #352B12 #12351A
square
#121C35 #35122E #352B12 #12351A
split-complementary
#121C35 #351A12 #2E3512
monochromatic
#080C17 #080C17 #121C35 #223463 #314C90

Accessibility & contrast

On white

16.89
#121C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#121C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C35
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C35#FFFFFF#000000##FFFFFF
##121C351.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F36
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#012125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121c35;
/* rgb */ color: rgb(18, 28, 53);
/* oklch */ color: oklch(23.2% 0.051 266.1);
Tailwind
colors: {
  custom: {
    50: '#53576c',
    500: '#121c35',
    950: '#000000',
  },
}
SCSS
$custom: #121c35;
$custom-light: #53576c;
$custom-dark: #000000;
JSON
{
  "hex": "#121c35",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 53
  },
  "hsl": {
    "h": 222.857,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2316,
    "c": 0.05062,
    "h": 266.1
  },
  "luminance": 0.01216
}

Semantic roles & 50–950 ramp

primary
#121C35
secondary
#6D5D35
accent
#B14FD9
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #121C35

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

Preview Lab → · Contrast checker → · Palette generator →

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