#121361#121361

#121361 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.132 H 271.7°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#121361
RGBrgb(18, 19, 97)
HSLhsl(239, 69%, 23%)
HSVhsv(239, 81%, 38%)
CMYKcmyk(81.4%, 80.4%, 0%, 62%)
CIE-LABlab(12.33, 29.29, -45.55)
CIE-LCHlch(12.33, 54.15, 302.74°)
OKLaboklab(25.67% 0.0039 -0.1319)
OKLCHoklch(25.67% 0.132 271.7)
XYZxyz(2.6393, 1.4571, 11.4491)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121361 #616012
analogous
#123A61 #121361 #391261
triadic
#121361 #611213 #136112
tetradic
#121361 #61123A #616012 #126139
square
#121361 #61123A #616012 #126139
split-complementary
#121361 #613912 #3A6112
monochromatic
#05051A #08092D #121361 #1C1D95 #2527C8

Accessibility & contrast

On white

16.26
#121361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121361
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121361#FFFFFF#000000##FFFFFF
##1213611.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#001C60
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121361;
/* rgb */ color: rgb(18, 19, 97);
/* oklch */ color: oklch(25.7% 0.132 271.7);
Tailwind
colors: {
  custom: {
    50: '#60528f',
    500: '#121361',
    950: '#000000',
  },
}
SCSS
$custom: #121361;
$custom-light: #60528f;
$custom-dark: #000000;
JSON
{
  "hex": "#121361",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 239.241,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25672,
    "c": 0.13192,
    "h": 271.7
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#121361
secondary
#999836
accent
#E93CEC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #121361

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

Preview Lab → · Contrast checker → · Palette generator →

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