#121C4E#121C4E

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

Color values

HEX#121C4E
RGBrgb(18, 28, 78)
HSLhsl(230, 63%, 19%)
HSVhsv(230, 77%, 31%)
CMYKcmyk(76.9%, 64.1%, 0%, 69.4%)
CIE-LABlab(12.67, 15.38, -32.16)
CIE-LCHlch(12.67, 35.65, 295.56°)
OKLaboklab(25.3% -0.0002 -0.0927)
OKLCHoklch(25.3% 0.093 269.9)
XYZxyz(2.0394, 1.5090, 7.3900)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C4E #4E4412
analogous
#123A4E #121C4E #26124E
triadic
#121C4E #4E121C #1C4E12
tetradic
#121C4E #4E123A #4E4412 #124E26
square
#121C4E #4E123A #4E4412 #124E26
split-complementary
#121C4E #4E2612 #3A4E12
monochromatic
#060919 #070A1C #121C4E #1D2E80 #2940B1

Accessibility & contrast

On white

16.13
#121C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C4E
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C4E#FFFFFF#000000##FFFFFF
##121C4E1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121c4e;
/* rgb */ color: rgb(18, 28, 78);
/* oklch */ color: oklch(25.3% 0.093 269.9);
Tailwind
colors: {
  custom: {
    50: '#595780',
    500: '#121c4e',
    950: '#000000',
  },
}
SCSS
$custom: #121c4e;
$custom-light: #595780;
$custom-dark: #000000;
JSON
{
  "hex": "#121c4e",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 230,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25303,
    "c": 0.0927,
    "h": 269.9
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#121C4E
secondary
#877935
accent
#CA42E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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