#121761#121761

#121761 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.127 H 270.9°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#121761
RGBrgb(18, 23, 97)
HSLhsl(236, 69%, 23%)
HSVhsv(236, 81%, 38%)
CMYKcmyk(81.4%, 76.3%, 0%, 62%)
CIE-LABlab(13.26, 26.70, -44.03)
CIE-LCHlch(13.26, 51.49, 301.24°)
OKLaboklab(26.33% 0.002 -0.1275)
OKLCHoklch(26.33% 0.127 270.9)
XYZxyz(2.7128, 1.6042, 11.4736)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121761 #615C12
analogous
#123E61 #121761 #351261
triadic
#121761 #611217 #176112
tetradic
#121761 #61123E #615C12 #126135
square
#121761 #61123E #615C12 #126135
split-complementary
#121761 #613512 #3E6112
monochromatic
#05061A #080B2D #121761 #1C2395 #252FC8

Accessibility & contrast

On white

15.90
#121761 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121761 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121761
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121761#FFFFFF#000000##FFFFFF
##1217611.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#001E60
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121761;
/* rgb */ color: rgb(18, 23, 97);
/* oklch */ color: oklch(26.3% 0.127 270.9);
Tailwind
colors: {
  custom: {
    50: '#5f548f',
    500: '#121761',
    950: '#000000',
  },
}
SCSS
$custom: #121761;
$custom-light: #5f548f;
$custom-dark: #000000;
JSON
{
  "hex": "#121761",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 236.203,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26329,
    "c": 0.12748,
    "h": 270.9
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#121761
secondary
#999336
accent
#E03CEC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #121761

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

Preview Lab → · Contrast checker → · Palette generator →

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