#121B4D#121B4D

#121B4D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.093 H 270.4°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#121B4D
RGBrgb(18, 27, 77)
HSLhsl(231, 62%, 19%)
HSVhsv(231, 77%, 30%)
CMYKcmyk(76.6%, 64.9%, 0%, 69.8%)
CIE-LABlab(12.27, 15.72, -32.11)
CIE-LCHlch(12.27, 35.75, 296.08°)
OKLaboklab(24.98% 0.0007 -0.0926)
OKLCHoklch(24.98% 0.093 270.4)
XYZxyz(1.9805, 1.4481, 7.1949)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B4D #4D4412
analogous
#12384D #121B4D #26124D
triadic
#121B4D #4D121B #1B4D12
tetradic
#121B4D #4D1238 #4D4412 #124D26
square
#121B4D #4D1238 #4D4412 #124D26
split-complementary
#121B4D #4D2612 #384D12
monochromatic
#060919 #060A1B #121B4D #1E2C7F #293EB0

Accessibility & contrast

On white

16.28
#121B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121B4D
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B4D#FFFFFF#000000##FFFFFF
##121B4D1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121b4d;
/* rgb */ color: rgb(18, 27, 77);
/* oklch */ color: oklch(25.0% 0.093 270.4);
Tailwind
colors: {
  custom: {
    50: '#59577f',
    500: '#121b4d',
    950: '#000000',
  },
}
SCSS
$custom: #121b4d;
$custom-light: #59577f;
$custom-dark: #000000;
JSON
{
  "hex": "#121b4d",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 230.847,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24984,
    "c": 0.09257,
    "h": 270.4
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#121B4D
secondary
#867A35
accent
#CC43E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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