#121A6A#121A6A

#121A6A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.136 H 269.7°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#121A6A
RGBrgb(18, 26, 106)
HSLhsl(235, 71%, 24%)
HSVhsv(235, 83%, 42%)
CMYKcmyk(83%, 75.5%, 0%, 58.4%)
CIE-LABlab(14.99, 28.18, -47.10)
CIE-LCHlch(14.99, 54.89, 300.89°)
OKLaboklab(27.88% -0.0008 -0.1364)
OKLCHoklch(27.88% 0.136 269.7)
XYZxyz(3.2195, 1.9076, 13.8314)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A6A #6A6212
analogous
#12466A #121A6A #36126A
triadic
#121A6A #6A121A #1A6A12
tetradic
#121A6A #6A1246 #6A6212 #126A36
square
#121A6A #6A1246 #6A6212 #126A36
split-complementary
#121A6A #6A3612 #466A12
monochromatic
#04061A #090D36 #121A6A #1B279E #2434D3

Accessibility & contrast

On white

15.20
#121A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A6A
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A6A#FFFFFF#000000##FFFFFF
##121A6A1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121a6a;
/* rgb */ color: rgb(18, 26, 106);
/* oklch */ color: oklch(27.9% 0.136 269.7);
Tailwind
colors: {
  custom: {
    50: '#625796',
    500: '#121a6a',
    950: '#000000',
  },
}
SCSS
$custom: #121a6a;
$custom-light: #625796;
$custom-dark: #000000;
JSON
{
  "hex": "#121a6a",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 234.545,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27882,
    "c": 0.13642,
    "h": 269.7
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#121A6A
secondary
#A29836
accent
#DD3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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