#121C4F#121C4F

#121C4F is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.094 H 269.9°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#121C4F
RGBrgb(18, 28, 79)
HSLhsl(230, 63%, 19%)
HSVhsv(230, 77%, 31%)
CMYKcmyk(77.2%, 64.6%, 0%, 69%)
CIE-LABlab(12.76, 15.81, -32.70)
CIE-LCHlch(12.76, 36.32, 295.80°)
OKLaboklab(25.4% -0.0002 -0.0943)
OKLCHoklch(25.4% 0.094 269.9)
XYZxyz(2.0755, 1.5234, 7.5803)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C4F #4F4512
analogous
#123B4F #121C4F #27124F
triadic
#121C4F #4F121C #1C4F12
tetradic
#121C4F #4F123B #4F4512 #124F27
square
#121C4F #4F123B #4F4512 #124F27
split-complementary
#121C4F #4F2712 #3B4F12
monochromatic
#060919 #070A1D #121C4F #1D2E81 #293FB3

Accessibility & contrast

On white

16.09
#121C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C4F
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C4F#FFFFFF#000000##FFFFFF
##121C4F1.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121c4f;
/* rgb */ color: rgb(18, 28, 79);
/* oklch */ color: oklch(25.4% 0.094 269.9);
Tailwind
colors: {
  custom: {
    50: '#5a5781',
    500: '#121c4f',
    950: '#000000',
  },
}
SCSS
$custom: #121c4f;
$custom-light: #5a5781;
$custom-dark: #000000;
JSON
{
  "hex": "#121c4f",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 230.164,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.254,
    "c": 0.09428,
    "h": 269.9
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#121C4F
secondary
#887A35
accent
#CB42E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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