#121A54#121A54

#121A54 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.105 H 270.8°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#121A54
RGBrgb(18, 26, 84)
HSLhsl(233, 65%, 20%)
HSVhsv(233, 79%, 33%)
CMYKcmyk(78.6%, 69%, 0%, 67.1%)
CIE-LABlab(12.65, 19.38, -36.27)
CIE-LCHlch(12.65, 41.13, 298.12°)
OKLaboklab(25.47% 0.0014 -0.1048)
OKLCHoklch(25.47% 0.105 270.8)
XYZxyz(2.2185, 1.5073, 8.5598)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A54 #544C12
analogous
#123B54 #121A54 #2B1254
triadic
#121A54 #54121A #1A5412
tetradic
#121A54 #54123B #544C12 #12542B
square
#121A54 #54123B #544C12 #12542B
split-complementary
#121A54 #542B12 #3B5412
monochromatic
#050819 #070A22 #121A54 #1D2A86 #2839B9

Accessibility & contrast

On white

16.14
#121A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A54
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A54#FFFFFF#000000##FFFFFF
##121A541.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#001E53
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121a54;
/* rgb */ color: rgb(18, 26, 84);
/* oklch */ color: oklch(25.5% 0.105 270.8);
Tailwind
colors: {
  custom: {
    50: '#5b5685',
    500: '#121a54',
    950: '#000000',
  },
}
SCSS
$custom: #121a54;
$custom-light: #5b5685;
$custom-dark: #000000;
JSON
{
  "hex": "#121a54",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 232.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.25472,
    "c": 0.10481,
    "h": 270.8
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

primary
#121A54
secondary
#8D8235
accent
#D340E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121A54

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

Preview Lab → · Contrast checker → · Palette generator →

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