#121961#121961

#121961 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.125 H 270.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#121961
RGBrgb(18, 25, 97)
HSLhsl(235, 69%, 23%)
HSVhsv(235, 81%, 38%)
CMYKcmyk(81.4%, 74.2%, 0%, 62%)
CIE-LABlab(13.75, 25.35, -43.21)
CIE-LCHlch(13.75, 50.10, 300.39°)
OKLaboklab(26.68% 0.0009 -0.1251)
OKLCHoklch(26.68% 0.125 270.4)
XYZxyz(2.7540, 1.6866, 11.4873)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121961 #615A12
analogous
#124061 #121961 #331261
triadic
#121961 #611219 #196112
tetradic
#121961 #611240 #615A12 #126133
square
#121961 #611240 #615A12 #126133
split-complementary
#121961 #613312 #406112
monochromatic
#05071A #080C2D #121961 #1C2695 #2534C8

Accessibility & contrast

On white

15.70
#121961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121961
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121961#FFFFFF#000000##FFFFFF
##1219611.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#001F60
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121961;
/* rgb */ color: rgb(18, 25, 97);
/* oklch */ color: oklch(26.7% 0.125 270.4);
Tailwind
colors: {
  custom: {
    50: '#5f568f',
    500: '#121961',
    950: '#000000',
  },
}
SCSS
$custom: #121961;
$custom-light: #5f568f;
$custom-dark: #000000;
JSON
{
  "hex": "#121961",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 234.684,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26684,
    "c": 0.1251,
    "h": 270.4
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#121961
secondary
#999036
accent
#DC3CEC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #121961

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

Preview Lab → · Contrast checker → · Palette generator →

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