#121A46#121A46

#121A46 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.083 H 271.1°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#121A46
RGBrgb(18, 26, 70)
HSLhsl(231, 59%, 17%)
HSVhsv(231, 74%, 27%)
CMYKcmyk(74.3%, 62.9%, 0%, 72.5%)
CIE-LABlab(11.34, 13.52, -28.78)
CIE-LCHlch(11.34, 31.80, 295.17°)
OKLaboklab(24.09% 0.0015 -0.0828)
OKLCHoklch(24.09% 0.083 271.1)
XYZxyz(1.7240, 1.3094, 5.9551)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A46 #463E12
analogous
#123446 #121A46 #241246
triadic
#121A46 #46121A #1A4612
tetradic
#121A46 #461234 #463E12 #124624
square
#121A46 #461234 #463E12 #124624
split-complementary
#121A46 #462412 #344612
monochromatic
#060918 #060918 #121A46 #1F2C77 #2B3EA7

Accessibility & contrast

On white

16.64
#121A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A46
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A46#FFFFFF#000000##FFFFFF
##121A461.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121a46;
/* rgb */ color: rgb(18, 26, 70);
/* oklch */ color: oklch(24.1% 0.083 271.1);
Tailwind
colors: {
  custom: {
    50: '#57567a',
    500: '#121a46',
    950: '#000000',
  },
}
SCSS
$custom: #121a46;
$custom-light: #57567a;
$custom-dark: #000000;
JSON
{
  "hex": "#121a46",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 230.769,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2409,
    "c": 0.0828,
    "h": 271.1
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#121A46
secondary
#7F7435
accent
#CA46E2
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121A46

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

Preview Lab → · Contrast checker → · Palette generator →

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