#121A3C#121A3C

#121A3C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.066 H 270.5°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#121A3C
RGBrgb(18, 26, 60)
HSLhsl(229, 54%, 15%)
HSVhsv(229, 70%, 24%)
CMYKcmyk(70%, 56.7%, 0%, 76.5%)
CIE-LABlab(10.51, 9.29, -23.08)
CIE-LCHlch(10.51, 24.88, 291.93°)
OKLaboklab(23.2% 0.0006 -0.066)
OKLCHoklch(23.2% 0.066 270.5)
XYZxyz(1.4342, 1.1935, 4.4289)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A3C #3C3412
analogous
#122F3C #121A3C #1F123C
triadic
#121A3C #3C121A #1A3C12
tetradic
#121A3C #3C122F #3C3412 #123C1F
square
#121A3C #3C122F #3C3412 #123C1F
split-complementary
#121A3C #3C1F12 #2F3C12
monochromatic
#070A18 #070A18 #121A3C #202E6B #2E439A

Accessibility & contrast

On white

16.95
#121A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A3C
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A3C#FFFFFF#000000##FFFFFF
##121A3C1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3D
Deuteranopia (green-blind)
#031B3B
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121a3c;
/* rgb */ color: rgb(18, 26, 60);
/* oklch */ color: oklch(23.2% 0.066 270.5);
Tailwind
colors: {
  custom: {
    50: '#555672',
    500: '#121a3c',
    950: '#000000',
  },
}
SCSS
$custom: #121a3c;
$custom-light: #555672;
$custom-dark: #000000;
JSON
{
  "hex": "#121a3c",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 228.571,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23198,
    "c": 0.06602,
    "h": 270.5
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#121A3C
secondary
#756935
accent
#C14BDD
background
#F5F5F6
surface
#E9E8EC
border
#C5C4C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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