#121E3F#121E3F

#121E3F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.065 H 266.6°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#121E3F
RGBrgb(18, 30, 63)
HSLhsl(224, 56%, 16%)
HSVhsv(224, 71%, 25%)
CMYKcmyk(71.4%, 52.4%, 0%, 75.3%)
CIE-LABlab(12.06, 7.46, -22.71)
CIE-LCHlch(12.06, 23.90, 288.20°)
OKLaboklab(24.46% -0.0038 -0.0649)
OKLCHoklch(24.46% 0.065 266.6)
XYZxyz(1.6106, 1.4159, 4.8901)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E3F #3F3312
analogous
#12343F #121E3F #1C123F
triadic
#121E3F #3F121E #1E3F12
tetradic
#121E3F #3F1234 #3F3312 #123F1C
square
#121E3F #3F1234 #3F3312 #123F1C
split-complementary
#121E3F #3F1C12 #343F12
monochromatic
#070B18 #070B18 #121E3F #20356F #2D4B9E

Accessibility & contrast

On white

16.37
#121E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121E3F
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E3F#FFFFFF#000000##FFFFFF
##121E3F1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2240
Deuteranopia (green-blind)
#071E3E
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121e3f;
/* rgb */ color: rgb(18, 30, 63);
/* oklch */ color: oklch(24.5% 0.065 266.6);
Tailwind
colors: {
  custom: {
    50: '#555974',
    500: '#121e3f',
    950: '#000000',
  },
}
SCSS
$custom: #121e3f;
$custom-light: #555974;
$custom-dark: #000000;
JSON
{
  "hex": "#121e3f",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 63
  },
  "hsl": {
    "h": 224,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24456,
    "c": 0.06498,
    "h": 266.6
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#121E3F
secondary
#786635
accent
#B749DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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