#121165#121165

#121165 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.139 H 271.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#121165
RGBrgb(18, 17, 101)
HSLhsl(241, 71%, 23%)
HSVhsv(241, 83%, 40%)
CMYKcmyk(82.2%, 83.2%, 0%, 60.4%)
CIE-LABlab(12.41, 31.94, -48.08)
CIE-LCHlch(12.41, 57.72, 303.59°)
OKLaboklab(25.87% 0.0038 -0.1392)
OKLCHoklch(25.87% 0.139 271.6)
XYZxyz(2.7981, 1.4688, 12.4454)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121165 #646511
analogous
#113A65 #121165 #3C1165
triadic
#121165 #651211 #116512
tetradic
#121165 #65113A #646511 #11653C
square
#121165 #65113A #646511 #11653C
split-complementary
#121165 #653C11 #3A6511
monochromatic
#05041A #090831 #121165 #1B1A99 #2523CE

Accessibility & contrast

On white

16.23
#121165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121165
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121165#FFFFFF#000000##FFFFFF
##1211651.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002467
Deuteranopia (green-blind)
#001C64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121165;
/* rgb */ color: rgb(18, 17, 101);
/* oklch */ color: oklch(25.9% 0.139 271.6);
Tailwind
colors: {
  custom: {
    50: '#615192',
    500: '#121165',
    950: '#000000',
  },
}
SCSS
$custom: #121165;
$custom-light: #615192;
$custom-dark: #000000;
JSON
{
  "hex": "#121165",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 240.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2587,
    "c": 0.13924,
    "h": 271.6
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#121165
secondary
#9C9D35
accent
#EE3AEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121165

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

Preview Lab → · Contrast checker → · Palette generator →

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