#121667#121667

#121667 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.137 H 270.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#121667
RGBrgb(18, 22, 103)
HSLhsl(237, 70%, 24%)
HSVhsv(237, 83%, 40%)
CMYKcmyk(82.5%, 78.6%, 0%, 59.6%)
CIE-LABlab(13.72, 29.63, -47.24)
CIE-LCHlch(13.72, 55.76, 302.10°)
OKLaboklab(26.87% 0.0014 -0.1368)
OKLCHoklch(26.87% 0.137 270.6)
XYZxyz(2.9837, 1.6814, 12.9966)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121667 #676312
analogous
#124067 #121667 #381267
triadic
#121667 #671216 #166712
tetradic
#121667 #671240 #676312 #126738
square
#121667 #671240 #676312 #126738
split-complementary
#121667 #673812 #406712
monochromatic
#05061A #090B33 #121667 #1B219B #242CCF

Accessibility & contrast

On white

15.71
#121667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121667
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121667#FFFFFF#000000##FFFFFF
##1216671.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121667;
/* rgb */ color: rgb(18, 22, 103);
/* oklch */ color: oklch(26.9% 0.137 270.6);
Tailwind
colors: {
  custom: {
    50: '#615493',
    500: '#121667',
    950: '#000000',
  },
}
SCSS
$custom: #121667;
$custom-light: #615493;
$custom-dark: #000000;
JSON
{
  "hex": "#121667",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 237.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26866,
    "c": 0.13681,
    "h": 270.6
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#121667
secondary
#9F9A36
accent
#E53BED
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121667

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

Preview Lab → · Contrast checker → · Palette generator →

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