#121760#121760

#121760 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.126 H 271.0°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#121760
RGBrgb(18, 23, 96)
HSLhsl(236, 68%, 22%)
HSVhsv(236, 81%, 38%)
CMYKcmyk(81.3%, 76%, 0%, 62.4%)
CIE-LABlab(13.14, 26.32, -43.55)
CIE-LCHlch(13.14, 50.88, 301.14°)
OKLaboklab(26.21% 0.0021 -0.1261)
OKLCHoklch(26.21% 0.126 271)
XYZxyz(2.6665, 1.5856, 11.2296)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121760 #605B12
analogous
#123E60 #121760 #341260
triadic
#121760 #601217 #176012
tetradic
#121760 #60123E #605B12 #126034
square
#121760 #60123E #605B12 #126034
split-complementary
#121760 #603412 #3E6012
monochromatic
#05061A #080B2C #121760 #1C2394 #2530C7

Accessibility & contrast

On white

15.94
#121760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121760
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121760#FFFFFF#000000##FFFFFF
##1217601.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#001E5F
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121760;
/* rgb */ color: rgb(18, 23, 96);
/* oklch */ color: oklch(26.2% 0.126 271.0);
Tailwind
colors: {
  custom: {
    50: '#5f548e',
    500: '#121760',
    950: '#000000',
  },
}
SCSS
$custom: #121760;
$custom-light: #5f548e;
$custom-dark: #000000;
JSON
{
  "hex": "#121760",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 236.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26214,
    "c": 0.12608,
    "h": 271
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#121760
secondary
#989236
accent
#E03DEB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #121760

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

Preview Lab → · Contrast checker → · Palette generator →

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