#121C5A#121C5A

#121C5A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.111 H 269.8°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#121C5A
RGBrgb(18, 28, 90)
HSLhsl(232, 67%, 21%)
HSVhsv(232, 80%, 35%)
CMYKcmyk(80%, 68.9%, 0%, 64.7%)
CIE-LABlab(13.81, 20.40, -38.44)
CIE-LCHlch(13.81, 43.51, 297.95°)
OKLaboklab(26.51% -0.0004 -0.1111)
OKLCHoklch(26.51% 0.111 269.8)
XYZxyz(2.5095, 1.6970, 9.8662)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C5A #5A5012
analogous
#12405A #121C5A #2C125A
triadic
#121C5A #5A121C #1C5A12
tetradic
#121C5A #5A1240 #5A5012 #125A2C
square
#121C5A #5A1240 #5A5012 #125A2C
split-complementary
#121C5A #5A2C12 #405A12
monochromatic
#05081A #080C27 #121C5A #1C2C8D #263CC0

Accessibility & contrast

On white

15.68
#121C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C5A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C5A#FFFFFF#000000##FFFFFF
##121C5A1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121c5a;
/* rgb */ color: rgb(18, 28, 90);
/* oklch */ color: oklch(26.5% 0.111 269.8);
Tailwind
colors: {
  custom: {
    50: '#5d5889',
    500: '#121c5a',
    950: '#000000',
  },
}
SCSS
$custom: #121c5a;
$custom-light: #5d5889;
$custom-dark: #000000;
JSON
{
  "hex": "#121c5a",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 231.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26505,
    "c": 0.11112,
    "h": 269.8
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#121C5A
secondary
#938635
accent
#D23EEA
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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