#121461#121461

#121461 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.131 H 271.5°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#121461
RGBrgb(18, 20, 97)
HSLhsl(238, 69%, 23%)
HSVhsv(238, 81%, 38%)
CMYKcmyk(81.4%, 79.4%, 0%, 62%)
CIE-LABlab(12.56, 28.66, -45.18)
CIE-LCHlch(12.56, 53.50, 302.38°)
OKLaboklab(25.83% 0.0034 -0.1308)
OKLCHoklch(25.83% 0.131 271.5)
XYZxyz(2.6565, 1.4917, 11.4549)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121461 #615F12
analogous
#123B61 #121461 #371261
triadic
#121461 #611214 #146112
tetradic
#121461 #61123B #615F12 #126137
square
#121461 #61123B #615F12 #126137
split-complementary
#121461 #613712 #3B6112
monochromatic
#05051A #08092D #121461 #1C1F95 #2529C8

Accessibility & contrast

On white

16.17
#121461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121461
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121461#FFFFFF#000000##FFFFFF
##1214611.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121461;
/* rgb */ color: rgb(18, 20, 97);
/* oklch */ color: oklch(25.8% 0.131 271.5);
Tailwind
colors: {
  custom: {
    50: '#60528f',
    500: '#121461',
    950: '#000000',
  },
}
SCSS
$custom: #121461;
$custom-light: #60528f;
$custom-dark: #000000;
JSON
{
  "hex": "#121461",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 238.481,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25829,
    "c": 0.13086,
    "h": 271.5
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#121461
secondary
#999736
accent
#E73CEC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #121461

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

Preview Lab → · Contrast checker → · Palette generator →

#121461 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva