#121F38#121F38

#121F38 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.2% C 0.051 H 262.4°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#121F38
RGBrgb(18, 31, 56)
HSLhsl(219, 51%, 15%)
HSVhsv(219, 68%, 22%)
CMYKcmyk(67.9%, 44.6%, 0%, 78%)
CIE-LABlab(11.92, 3.76, -17.98)
CIE-LCHlch(11.92, 18.37, 281.81°)
OKLaboklab(24.19% -0.0068 -0.051)
OKLCHoklch(24.19% 0.051 262.4)
XYZxyz(1.4530, 1.3940, 3.9331)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F38 #382B12
analogous
#123238 #121F38 #181238
triadic
#121F38 #38121F #1F3812
tetradic
#121F38 #381232 #382B12 #123818
square
#121F38 #381232 #382B12 #123818
split-complementary
#121F38 #381812 #323812
monochromatic
#070D17 #070D17 #121F38 #213966 #305295

Accessibility & contrast

On white

16.42
#121F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F38
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F38#FFFFFF#000000##FFFFFF
##121F381.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142139
Deuteranopia (green-blind)
#101E37
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121f38;
/* rgb */ color: rgb(18, 31, 56);
/* oklch */ color: oklch(24.2% 0.051 262.4);
Tailwind
colors: {
  custom: {
    50: '#545a6e',
    500: '#121f38',
    950: '#000000',
  },
}
SCSS
$custom: #121f38;
$custom-light: #545a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#121f38",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 219.474,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24186,
    "c": 0.05144,
    "h": 262.4
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#121F38
secondary
#715C35
accent
#AA4DDB
background
#F4F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #121F38

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

Preview Lab → · Contrast checker → · Palette generator →

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