#121167#121167

#121167 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.142 H 271.4°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#121167
RGBrgb(18, 17, 103)
HSLhsl(241, 72%, 24%)
HSVhsv(241, 83%, 40%)
CMYKcmyk(82.5%, 83.5%, 0%, 59.6%)
CIE-LABlab(12.66, 32.65, -48.98)
CIE-LCHlch(12.66, 58.87, 303.69°)
OKLaboklab(26.12% 0.0034 -0.1418)
OKLCHoklch(26.12% 0.142 271.4)
XYZxyz(2.8973, 1.5084, 12.9678)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121167 #666711
analogous
#113B67 #121167 #3D1167
triadic
#121167 #671211 #116712
tetradic
#121167 #67113B #666711 #11673D
square
#121167 #67113B #666711 #11673D
split-complementary
#121167 #673D11 #3B6711
monochromatic
#05041A #090832 #121167 #1B1A9C #2422D0

Accessibility & contrast

On white

16.13
#121167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121167
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121167#FFFFFF#000000##FFFFFF
##1211671.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001C66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121167;
/* rgb */ color: rgb(18, 17, 103);
/* oklch */ color: oklch(26.1% 0.142 271.4);
Tailwind
colors: {
  custom: {
    50: '#625193',
    500: '#121167',
    950: '#000000',
  },
}
SCSS
$custom: #121167;
$custom-light: #625193;
$custom-dark: #000000;
JSON
{
  "hex": "#121167",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 240.698,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26121,
    "c": 0.14185,
    "h": 271.4
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#121167
secondary
#9E9F35
accent
#EE39EC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121167

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

Preview Lab → · Contrast checker → · Palette generator →

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