#121B3E#121B3E

#121B3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.6% C 0.068 H 269.7°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#121B3E
RGBrgb(18, 27, 62)
HSLhsl(228, 55%, 16%)
HSVhsv(228, 71%, 24%)
CMYKcmyk(71%, 56.5%, 0%, 75.7%)
CIE-LABlab(10.99, 9.36, -23.72)
CIE-LCHlch(10.99, 25.50, 291.54°)
OKLaboklab(23.62% -0.0003 -0.0679)
OKLCHoklch(23.62% 0.068 269.7)
XYZxyz(1.5106, 1.2601, 4.7201)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B3E #3E3512
analogous
#12313E #121B3E #1F123E
triadic
#121B3E #3E121B #1B3E12
tetradic
#121B3E #3E1231 #3E3512 #123E1F
square
#121B3E #3E1231 #3E3512 #123E1F
split-complementary
#121B3E #3E1F12 #313E12
monochromatic
#070A18 #070A18 #121B3E #20306D #2E449D

Accessibility & contrast

On white

16.77
#121B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#121B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B3E
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B3E#FFFFFF#000000##FFFFFF
##121B3E1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09203F
Deuteranopia (green-blind)
#021C3D
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #121b3e;
/* rgb */ color: rgb(18, 27, 62);
/* oklch */ color: oklch(23.6% 0.068 269.7);
Tailwind
colors: {
  custom: {
    50: '#555673',
    500: '#121b3e',
    950: '#000000',
  },
}
SCSS
$custom: #121b3e;
$custom-light: #555673;
$custom-dark: #000000;
JSON
{
  "hex": "#121b3e",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 227.727,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23616,
    "c": 0.06789,
    "h": 269.7
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#121B3E
secondary
#776935
accent
#C049DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #121B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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