#121561#121561

#121561 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.130 H 271.3°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#121561
RGBrgb(18, 21, 97)
HSLhsl(238, 69%, 23%)
HSVhsv(238, 81%, 38%)
CMYKcmyk(81.4%, 78.4%, 0%, 62%)
CIE-LABlab(12.78, 28.02, -44.81)
CIE-LCHlch(12.78, 52.84, 302.02°)
OKLaboklab(25.99% 0.003 -0.1297)
OKLCHoklch(25.99% 0.13 271.3)
XYZxyz(2.6746, 1.5277, 11.4609)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121561 #615E12
analogous
#123C61 #121561 #371261
triadic
#121561 #611215 #156112
tetradic
#121561 #61123C #615E12 #126137
square
#121561 #61123C #615E12 #126137
split-complementary
#121561 #613712 #3C6112
monochromatic
#05061A #080A2D #121561 #1C2095 #252BC8

Accessibility & contrast

On white

16.08
#121561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121561
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121561#FFFFFF#000000##FFFFFF
##1215611.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121561;
/* rgb */ color: rgb(18, 21, 97);
/* oklch */ color: oklch(26.0% 0.130 271.3);
Tailwind
colors: {
  custom: {
    50: '#60538f',
    500: '#121561',
    950: '#000000',
  },
}
SCSS
$custom: #121561;
$custom-light: #60538f;
$custom-dark: #000000;
JSON
{
  "hex": "#121561",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 237.722,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25992,
    "c": 0.12975,
    "h": 271.3
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#121561
secondary
#999536
accent
#E53CEC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #121561

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

Preview Lab → · Contrast checker → · Palette generator →

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