#121960#121960

#121960 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.6% C 0.124 H 270.5°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#121960
RGBrgb(18, 25, 96)
HSLhsl(235, 68%, 22%)
HSVhsv(235, 81%, 38%)
CMYKcmyk(81.3%, 74%, 0%, 62.4%)
CIE-LABlab(13.64, 24.95, -42.73)
CIE-LCHlch(13.64, 49.48, 300.28°)
OKLaboklab(26.57% 0.001 -0.1237)
OKLCHoklch(26.57% 0.124 270.5)
XYZxyz(2.7077, 1.6681, 11.2433)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121960 #605912
analogous
#124060 #121960 #321260
triadic
#121960 #601219 #196012
tetradic
#121960 #601240 #605912 #126032
square
#121960 #601240 #605912 #126032
split-complementary
#121960 #603212 #406012
monochromatic
#05071A #080C2C #121960 #1C2694 #2534C7

Accessibility & contrast

On white

15.75
#121960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#121960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121960
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121960#FFFFFF#000000##FFFFFF
##1219601.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121960;
/* rgb */ color: rgb(18, 25, 96);
/* oklch */ color: oklch(26.6% 0.124 270.5);
Tailwind
colors: {
  custom: {
    50: '#5f568e',
    500: '#121960',
    950: '#000000',
  },
}
SCSS
$custom: #121960;
$custom-light: #5f568e;
$custom-dark: #000000;
JSON
{
  "hex": "#121960",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 234.615,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26572,
    "c": 0.12368,
    "h": 270.5
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#121960
secondary
#988F36
accent
#DC3DEB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #121960

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

Preview Lab → · Contrast checker → · Palette generator →

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