#121A5A#121A5A

#121A5A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.114 H 270.5°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#121A5A
RGBrgb(18, 26, 90)
HSLhsl(233, 67%, 21%)
HSVhsv(233, 80%, 35%)
CMYKcmyk(80%, 71.1%, 0%, 64.7%)
CIE-LABlab(13.26, 21.84, -39.33)
CIE-LCHlch(13.26, 44.99, 299.05°)
OKLaboklab(26.11% 0.001 -0.1138)
OKLCHoklch(26.11% 0.114 270.5)
XYZxyz(2.4637, 1.6053, 9.8509)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A5A #5A5212
analogous
#123E5A #121A5A #2E125A
triadic
#121A5A #5A121A #1A5A12
tetradic
#121A5A #5A123E #5A5212 #125A2E
square
#121A5A #5A123E #5A5212 #125A2E
split-complementary
#121A5A #5A2E12 #3E5A12
monochromatic
#05071A #080B27 #121A5A #1C298D #2637C0

Accessibility & contrast

On white

15.89
#121A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A5A
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A5A#FFFFFF#000000##FFFFFF
##121A5A1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121a5a;
/* rgb */ color: rgb(18, 26, 90);
/* oklch */ color: oklch(26.1% 0.114 270.5);
Tailwind
colors: {
  custom: {
    50: '#5d5689',
    500: '#121a5a',
    950: '#000000',
  },
}
SCSS
$custom: #121a5a;
$custom-light: #5d5689;
$custom-dark: #000000;
JSON
{
  "hex": "#121a5a",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 233.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26105,
    "c": 0.11376,
    "h": 270.5
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#121A5A
secondary
#938835
accent
#D73EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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