#121F3D#121F3D

#121F3D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.060 H 264.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#121F3D
RGBrgb(18, 31, 61)
HSLhsl(222, 54%, 15%)
HSVhsv(222, 70%, 24%)
CMYKcmyk(70.5%, 49.2%, 0%, 76.1%)
CIE-LABlab(12.26, 5.85, -20.99)
CIE-LCHlch(12.26, 21.79, 285.58°)
OKLaboklab(24.56% -0.0055 -0.0598)
OKLCHoklch(24.56% 0.06 264.7)
XYZxyz(1.5815, 1.4454, 4.6096)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F3D #3D3012
analogous
#12343D #121F3D #1A123D
triadic
#121F3D #3D121F #1F3D12
tetradic
#121F3D #3D1234 #3D3012 #123D1A
square
#121F3D #3D1234 #3D3012 #123D1A
split-complementary
#121F3D #3D1A12 #343D12
monochromatic
#070C18 #070C18 #121F3D #20376C #2E4F9C

Accessibility & contrast

On white

16.29
#121F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F3D
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F3D#FFFFFF#000000##FFFFFF
##121F3D1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11223E
Deuteranopia (green-blind)
#0B1E3C
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121f3d;
/* rgb */ color: rgb(18, 31, 61);
/* oklch */ color: oklch(24.6% 0.060 264.7);
Tailwind
colors: {
  custom: {
    50: '#555a72',
    500: '#121f3d',
    950: '#000000',
  },
}
SCSS
$custom: #121f3d;
$custom-light: #555a72;
$custom-dark: #000000;
JSON
{
  "hex": "#121f3d",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 221.86,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24557,
    "c": 0.06006,
    "h": 264.7
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#121F3D
secondary
#766235
accent
#B14ADE
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #121F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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